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/annexremote/default.nix
Normal file
42
pkgs/development/python-modules/annexremote/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, isPy3k
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, nose
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "annexremote";
|
||||
version = "1.6.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Lykos153";
|
||||
repo = "AnnexRemote";
|
||||
rev = "v${version}";
|
||||
sha256 = "08myswj1vqkl4s1glykq6xn76a070nv5mxj0z8ibl6axz89bvypi";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
nose
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests -v -e "^TestExport_MissingName" -e "^TestRemoveexportdirectory"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"annexremote"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Helper module to easily develop git-annex remotes";
|
||||
homepage = "https://github.com/Lykos153/AnnexRemote";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ montag451 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue