mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
pythonPackages.pydispatcher: refactor move to python-modules
This commit is contained in:
parent
781d05c95a
commit
e4c239aad9
28
pkgs/development/python-modules/pydispatcher/default.nix
Normal file
28
pkgs/development/python-modules/pydispatcher/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.0.5";
|
||||
pname = "pydispatcher";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1bswbmhlbqdxlgbxlb6xrlm4k253sg8nvpl1whgsys8p3fg0cw2m";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://pydispatcher.sourceforge.net/;
|
||||
description = "Signal-registration and routing infrastructure for use in multiple contexts";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
|
||||
}
|
@ -3295,26 +3295,7 @@ in {
|
||||
|
||||
pycurl2 = callPackage ../development/python-modules/pycurl2 { };
|
||||
|
||||
pydispatcher = buildPythonPackage (rec {
|
||||
version = "2.0.5";
|
||||
name = "pydispatcher-${version}";
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/P/PyDispatcher/PyDispatcher-${version}.tar.gz";
|
||||
sha256 = "1bswbmhlbqdxlgbxlb6xrlm4k253sg8nvpl1whgsys8p3fg0cw2m";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://pydispatcher.sourceforge.net/;
|
||||
description = "Signal-registration and routing infrastructure for use in multiple contexts";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
});
|
||||
pydispatcher = callPackage ../development/python-modules/pydispatcher { };
|
||||
|
||||
pydot = callPackage ../development/python-modules/pydot { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user