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
42
pkgs/development/python-modules/flit-core/default.nix
Normal file
42
pkgs/development/python-modules/flit-core/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, callPackage
|
||||
, flit
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flit-core";
|
||||
inherit (flit) version;
|
||||
format = "pyproject";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"testsout"
|
||||
];
|
||||
|
||||
inherit (flit) src patches;
|
||||
|
||||
preConfigure = ''
|
||||
cd flit_core
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir $testsout
|
||||
cp -R ../tests $testsout/tests
|
||||
'';
|
||||
|
||||
# check in passthru.tests.pytest to escape infinite recursion with setuptools-scm
|
||||
doCheck = false;
|
||||
|
||||
passthru.tests = {
|
||||
inherit flit;
|
||||
pytest = callPackage ./tests.nix { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Distribution-building parts of Flit. See flit package for more information";
|
||||
homepage = "https://github.com/pypa/flit";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ fridh SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue