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/bitarray/default.nix
Normal file
36
pkgs/development/python-modules/bitarray/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bitarray";
|
||||
version = "2.5.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-jTj2B1EAgJmmWdWs+zXvQVAYPv/Vsr+mwQGZJw3fTJw=";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
cd $out
|
||||
${python.interpreter} -c 'import bitarray; bitarray.test()'
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"bitarray"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Efficient arrays of booleans";
|
||||
homepage = "https://github.com/ilanschnell/bitarray";
|
||||
changelog = "https://github.com/ilanschnell/bitarray/raw/${version}/CHANGE_LOG";
|
||||
license = licenses.psfl;
|
||||
maintainers = with maintainers; [ bhipple ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue