uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
36
pkgs/development/python-modules/seekpath/default.nix
Normal file
36
pkgs/development/python-modules/seekpath/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, numpy, future, spglib, glibcLocales, pytest, scipy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "seekpath";
|
||||
version = "2.0.1";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "giovannipizzi";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0x592650ynacmx5n5bilj5lja4iw0gf1nfypy82cmy5z363qhqxn";
|
||||
};
|
||||
|
||||
LC_ALL = "en_US.utf-8";
|
||||
|
||||
# scipy isn't listed in install_requires, but used in package
|
||||
propagatedBuildInputs = [ numpy spglib future scipy ];
|
||||
|
||||
nativeBuildInputs = [ glibcLocales ];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
# I don't know enough about crystal structures to fix
|
||||
checkPhase = ''
|
||||
pytest . -k 'not oI2Y'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A module to obtain and visualize band paths in the Brillouin zone of crystal structures.";
|
||||
homepage = "https://github.com/giovannipizzi/seekpath";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ psyanticy ];
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue