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
31
pkgs/development/python-modules/py-radix/default.nix
Normal file
31
pkgs/development/python-modules/py-radix/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonAtLeast
|
||||
, fetchFromGitHub
|
||||
, coverage
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "py-radix";
|
||||
version = "0.10.0";
|
||||
|
||||
disabled = pythonAtLeast "3.10"; # abandoned, remove when we move to py310/py311
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mjschultz";
|
||||
repo = "py-radix";
|
||||
rev = "v${version}";
|
||||
sha256 = "01xyn9lg6laavnzczf5bck1l1c2718ihxx0hvdkclnnxjqhbrqis";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ coverage nose ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python radix tree for IPv4 and IPv6 prefix matching";
|
||||
homepage = "https://github.com/mjschultz/py-radix";
|
||||
license = with licenses; [ isc bsdOriginal ];
|
||||
maintainers = with maintainers; [ mkg ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue