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
58
pkgs/development/python-modules/boltztrap2/default.nix
Normal file
58
pkgs/development/python-modules/boltztrap2/default.nix
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, spglib
|
||||
, numpy
|
||||
, scipy
|
||||
, matplotlib
|
||||
, ase
|
||||
, netcdf4
|
||||
, pytest
|
||||
, pythonOlder
|
||||
, cython
|
||||
, cmake
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "boltztrap2";
|
||||
version = "22.4.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "BoltzTraP2";
|
||||
inherit version;
|
||||
hash = "sha256-lGwKHWAslCmb9bVQELHD6kAay+dnieiNsSAfAyNFLPM=";
|
||||
};
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
cython
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
spglib
|
||||
numpy
|
||||
scipy
|
||||
matplotlib
|
||||
ase
|
||||
netcdf4
|
||||
];
|
||||
|
||||
# pypi release does no include files for tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"BoltzTraP2"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Band-structure interpolator and transport coefficient calculator";
|
||||
homepage = "http://www.boltztrap.org/";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue