python.pkgs.multipledispatch: move expression
This commit is contained in:
parent
dde8ded1ef
commit
6e5276f0ab
25
pkgs/development/python-modules/multipledispatch/default.nix
Normal file
25
pkgs/development/python-modules/multipledispatch/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user