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
30
pkgs/development/python-modules/intervaltree/default.nix
Normal file
30
pkgs/development/python-modules/intervaltree/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, python, pytest, sortedcontainers }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "3.1.0";
|
||||
pname = "intervaltree";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "902b1b88936918f9b2a19e0e5eb7ccb430ae45cde4f39ea4b36932920d33952d";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
|
||||
propagatedBuildInputs = [ sortedcontainers ];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
rm build -rf
|
||||
${python.interpreter} nix_run_setup test
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Editable interval tree data structure for Python 2 and 3";
|
||||
homepage = "https://github.com/chaimleib/intervaltree";
|
||||
license = [ licenses.asl20 ];
|
||||
maintainers = [ maintainers.bennofs ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue