nixpkgs/pkgs/development/python-modules/umemcache/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

20 lines
574 B
Nix

{ stdenv, buildPythonPackage, isPy3k, fetchurl }:
buildPythonPackage rec {
pname = "umemcache";
version = "1.6.3";
disabled = isPy3k;
src = fetchurl {
url = "mirror://pypi/u/umemcache/${pname}-${version}.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;
};
}