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
44
pkgs/development/python-modules/expiringdict/default.nix
Normal file
44
pkgs/development/python-modules/expiringdict/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchFromGitHub
|
||||
, dill
|
||||
, coverage
|
||||
, coveralls
|
||||
, mock
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "expiringdict";
|
||||
version = "1.2.1";
|
||||
|
||||
# use fetchFromGitHub instead of fetchPypi because the test suite of
|
||||
# the package is not included into the PyPI tarball
|
||||
src = fetchFromGitHub {
|
||||
owner = "mailgun";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "07g1vxznmim78bankfl9brr01s31sksdcpwynq1yryh6xw9ri5xs";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
dill
|
||||
coverage
|
||||
coveralls
|
||||
mock
|
||||
nose
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests -v --with-coverage --cover-package=expiringdict
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "expiringdict" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Dictionary with auto-expiring values for caching purposes";
|
||||
homepage = "https://pypi.org/project/expiringdict/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ gravndal ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue