pythonPackages.d2to1: move to python-modules

This commit is contained in:
makefu 2018-02-27 10:26:21 +01:00
parent a2847968c9
commit eb6ae2d8fb
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
2 changed files with 24 additions and 17 deletions

View File

@ -0,0 +1,23 @@
{ buildPythonPackage
, lib
, fetchPypi
, nose
}:
buildPythonPackage rec {
pname = "d2to1";
version = "0.2.11";
checkInputs = [ nose ];
src = fetchPypi {
inherit version pname;
sha256 = "1a5z367b7dpd6dgi0w8pymb68aj2pblk8w04l2c8hibhj8dpl2b4";
};
meta = with lib;{
description = "Support for distutils2-like setup.cfg files as package metadata";
homepage = https://github.com/embray/d2to1;
license = licenses.bsd2;
maintainers = with maintainers; [ makefu ];
};
}

View File

@ -20358,23 +20358,7 @@ EOF
};
};
d2to1 = buildPythonPackage rec {
name = "d2to1-${version}";
version = "0.2.11";
buildInputs = with self; [ nose ];
src = pkgs.fetchurl {
url = "mirror://pypi/d/d2to1/d2to1-${version}.tar.gz";
sha256 = "1a5z367b7dpd6dgi0w8pymb68aj2pblk8w04l2c8hibhj8dpl2b4";
};
meta = {
description = "Support for distutils2-like setup.cfg files as package metadata";
homepage = https://pypi.python.org/pypi/d2to1;
license = licenses.bsd2;
maintainers = [ maintainers.makefu ];
};
};
d2to1 = callPackage ../development/python-modules/d2to1 { };
ovh = callPackage ../development/python-modules/ovh { };