python.pkgs.jaraco_functools: move expression

This commit is contained in:
Robert Schütz 2018-07-23 21:47:18 +02:00 committed by Frederik Rietdijk
parent 2e7ed10e44
commit 9ddbfc9242
2 changed files with 26 additions and 15 deletions

View 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;
};
}

View file

@ -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}";