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
47
pkgs/development/python-modules/grandalf/default.nix
Normal file
47
pkgs/development/python-modules/grandalf/default.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pyparsing
|
||||
, future
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "grandalf";
|
||||
version = "0.7";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bdcht";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-j2SvpQvDMfwoj2PAQSxzEIyIzzJ61Eb9wgetKyni6A4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyparsing
|
||||
future
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
patches = [
|
||||
./no-setup-requires-pytestrunner.patch
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"grandalf"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for experimentations with graphs and drawing algorithms";
|
||||
homepage = "https://github.com/bdcht/grandalf";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ cmcdragonkai ];
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
diff --git a/setup.py b/setup.py
|
||||
index 0470622..d574ceb 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -75,8 +75,8 @@ setup(
|
||||
# your project is installed. For an analysis of "install_requires" vs pip's
|
||||
# requirements files see:
|
||||
# https://packaging.python.org/en/latest/requirements.html
|
||||
- setup_requires=['pytest-runner',],
|
||||
- tests_require=['pytest',],
|
||||
+ setup_requires=[],
|
||||
+ tests_require=['pytest','pytest-runner',],
|
||||
|
||||
install_requires=['pyparsing','future'],
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue