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
41
pkgs/development/python-modules/setuptools-scm/default.nix
Normal file
41
pkgs/development/python-modules/setuptools-scm/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ buildPythonPackage
|
||||
, callPackage
|
||||
, fetchPypi
|
||||
, packaging
|
||||
, tomli
|
||||
, lib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "setuptools-scm";
|
||||
version = "6.4.2";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "setuptools_scm";
|
||||
inherit version;
|
||||
sha256 = "sha256-aDOsZcbtlxGk1dImb4Akz6B8UzoOVfTBL27/KApanjA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
packaging
|
||||
tomli
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"setuptools_scm"
|
||||
];
|
||||
|
||||
# check in passhtru.tests.pytest to escape infinite recursion on pytest
|
||||
doCheck = false;
|
||||
|
||||
passthru.tests = {
|
||||
pytest = callPackage ./tests.nix { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/pypa/setuptools_scm/";
|
||||
description = "Handles managing your python package versions in scm metadata";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue