Merge pull request #24766 from nlewo/pr/dogpile

pythonPackages.dogpile_cache: 0.5.4 -> 0.6.2

Changed files
+25 -18
pkgs
development
python-modules
dogpile.cache
top-level
+24
pkgs/development/python-modules/dogpile.cache/default.nix
···
···
+
{ stdenv, buildPythonPackage, fetchPypi,
+
dogpile_core, pytest
+
}:
+
+
buildPythonPackage rec {
+
pname = "dogpile.cache";
+
version = "0.6.2";
+
name = "${pname}-${version}";
+
+
src = fetchPypi {
+
inherit pname version;
+
sha256 = "73793471af07af6dc5b3ee015abfaca4220caaa34c615537f5ab007ed150726d";
+
};
+
+
propagatedBuildInputs = [ dogpile_core ];
+
buildInputs = [ pytest ];
+
+
meta = with stdenv.lib; {
+
description = "A caching front-end based on the Dogpile lock";
+
homepage = http://bitbucket.org/zzzeek/dogpile.cache;
+
platforms = platforms.linux; # Can only test linux
+
license = licenses.bsd3;
+
};
+
}
+1 -18
pkgs/top-level/python-packages.nix
···
};
};
-
dogpile_cache = buildPythonPackage rec {
-
name = "dogpile.cache-0.5.4";
-
-
propagatedBuildInputs = with self; [ dogpile_core ];
-
-
src = pkgs.fetchurl {
-
url = "mirror://pypi/d/dogpile.cache/dogpile.cache-0.5.4.tar.gz";
-
sha256 = "9eab7a5dc05ad1b6573144c4a2717226b5c38811f9ec29b514e774535a91ea24";
-
};
-
-
doCheck = false;
-
-
meta = {
-
description = "A caching front-end based on the Dogpile lock";
-
homepage = http://bitbucket.org/zzzeek/dogpile.cache;
-
license = licenses.bsd3;
-
};
-
};
dogpile_core = buildPythonPackage rec {
name = "dogpile.core-0.4.1";
···
};
};
+
dogpile_cache = callPackage ../development/python-modules/dogpile.cache { };
dogpile_core = buildPythonPackage rec {
name = "dogpile.core-0.4.1";