python.pkgs.multipledispatch: move expression

This commit is contained in:
Frederik Rietdijk 2017-10-29 12:27:47 +01:00
parent dde8ded1ef
commit 6e5276f0ab
2 changed files with 26 additions and 19 deletions

View File

@ -0,0 +1,25 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "multipledispatch";
version = "0.4.9";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "bda6abb8188d9abb429bd17ed15bc7433f77f1b05a78cfff761711ed81daa7a2";
};
# No tests in archive
doCheck = false;
meta = {
homepage = http://github.com/mrocklin/multipledispatch/;
description = "A relatively sane approach to multiple dispatch in Python";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}

View File

@ -12163,25 +12163,7 @@ in {
propagatedBuildInputs = with self; [ eventlib application gnutls ];
};
multipledispatch = buildPythonPackage rec {
name = "multipledispatch-${version}";
version = "0.4.9";
src = pkgs.fetchurl {
url = "mirror://pypi/m/multipledispatch/${name}.tar.gz";
sha256 = "bda6abb8188d9abb429bd17ed15bc7433f77f1b05a78cfff761711ed81daa7a2";
};
# No tests in archive
doCheck = false;
meta = {
homepage = http://github.com/mrocklin/multipledispatch/;
description = "A relatively sane approach to multiple dispatch in Python";
license = licenses.bsd3;
maintainers = with maintainers; [ fridh ];
};
};
multipledispatch = callPackage ../development/python-modules/multipledispatch { };
multiprocess = buildPythonPackage rec {
name = "multiprocess-${version}";