python.pkgs.jaraco_functools: move expression
This commit is contained in:
parent
2e7ed10e44
commit
9ddbfc9242
25
pkgs/development/python-modules/jaraco_functools/default.nix
Normal file
25
pkgs/development/python-modules/jaraco_functools/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, setuptools_scm
|
||||
, more-itertools, backports_functools_lru_cache }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jaraco.functools";
|
||||
version = "1.15.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1nhl0pjc7acxznhadg9wq1a6ls17ja2np8vf9psq8j66716mk2ya";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ more-itertools backports_functools_lru_cache ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [ setuptools_scm ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Additional functools in the spirit of stdlib's functools";
|
||||
homepage = https://github.com/jaraco/jaraco.functools;
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -17490,21 +17490,7 @@ EOF
|
||||
|
||||
more-itertools = callPackage ../development/python-modules/more-itertools { };
|
||||
|
||||
jaraco_functools = buildPythonPackage rec {
|
||||
name = "jaraco.functools-${version}";
|
||||
version = "1.15.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/j/jaraco.functools/${name}.tar.gz";
|
||||
sha256 = "1nhl0pjc7acxznhadg9wq1a6ls17ja2np8vf9psq8j66716mk2ya";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ more-itertools backports_functools_lru_cache ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = with self; [ setuptools_scm ];
|
||||
};
|
||||
jaraco_functools = callPackage ../development/python-modules/jaraco_functools { };
|
||||
|
||||
jaraco_classes = buildPythonPackage rec {
|
||||
name = "jaraco.classes-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user