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
28
pkgs/development/python-modules/keyutils/default.nix
Normal file
28
pkgs/development/python-modules/keyutils/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, keyutils, pytest-runner, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "keyutils";
|
||||
version = "0.6";
|
||||
|
||||
# github version comes bundled with tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "sassoftware";
|
||||
repo = "python-keyutils";
|
||||
rev = version;
|
||||
sha256 = "0pfqfr5xqgsqkxzrmj8xl2glyl4nbq0irs0k6ik7iy3gd3mxf5g1";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace '"pytest-runner"' ""
|
||||
'';
|
||||
|
||||
buildInputs = [ keyutils ];
|
||||
checkInputs = [ pytest pytest-runner ];
|
||||
|
||||
meta = {
|
||||
description = "A set of python bindings for keyutils";
|
||||
homepage = "https://github.com/sassoftware/python-keyutils";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ primeos ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue