pythonPackages.umemcache: move expression out of python-packages.nix
This commit is contained in:
parent
0a1eb8246a
commit
c0fc1670f5
20
pkgs/development/python-modules/umemcache/default.nix
Normal file
20
pkgs/development/python-modules/umemcache/default.nix
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{ stdenv, buildPythonPackage, isPy3k, fetchurl }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "umemcache-${version}";
|
||||||
|
version = "1.6.3";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://pypi/u/umemcache/${name}.zip";
|
||||||
|
sha256 = "211031a03576b7796bf277dbc9c9e3e754ba066bbb7fb601ab5c6291b8ec1918";
|
||||||
|
};
|
||||||
|
|
||||||
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Ultra fast memcache client written in highly optimized C++ with Python bindings";
|
||||||
|
homepage = https://github.com/esnme/ultramemcache;
|
||||||
|
license = licenses.bsdOriginal;
|
||||||
|
};
|
||||||
|
}
|
@ -23658,24 +23658,7 @@ in {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
umemcache = buildPythonPackage rec {
|
umemcache = callPackage ../development/python-modules/umemcache {};
|
||||||
name = "umemcache-${version}";
|
|
||||||
version = "1.6.3";
|
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/u/umemcache/${name}.zip";
|
|
||||||
sha256 = "211031a03576b7796bf277dbc9c9e3e754ba066bbb7fb601ab5c6291b8ec1918";
|
|
||||||
};
|
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Ultra fast memcache client written in highly optimized C++ with Python bindings";
|
|
||||||
homepage = https://github.com/esnme/ultramemcache;
|
|
||||||
license = licenses.bsdOriginal;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
unicodecsv = buildPythonPackage rec {
|
unicodecsv = buildPythonPackage rec {
|
||||||
version = "0.14.1";
|
version = "0.14.1";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user