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
55
pkgs/development/python-modules/versionfinder/default.nix
Normal file
55
pkgs/development/python-modules/versionfinder/default.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{ lib
|
||||
, backoff
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, GitPython
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "versionfinder";
|
||||
version = "1.1.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jantman";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "16mvjwyhmw39l8by69dgr9b9jnl7yav36523lkh7w7pwd529pbb9";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
GitPython
|
||||
backoff
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
requests
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Acceptance tests use the network
|
||||
"versionfinder/tests/test_acceptance.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Tests are out-dated
|
||||
"TestFindPipInfo"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"versionfinder"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Find the version of another package, whether installed via pip, setuptools or git";
|
||||
homepage = "https://github.com/jantman/versionfinder";
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = with maintainers; [ zakame ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue