progressbar: move to own file and fix homepage

This commit is contained in:
Elis Hirwing 2018-03-10 08:58:27 +01:00
parent 14464b1dc5
commit 6c55f5479d
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F
2 changed files with 22 additions and 18 deletions

View File

@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "progressbar";
version = "2.2";
src = fetchPypi {
inherit pname version;
sha256 = "dfee5201237ca0e942baa4d451fee8bf8a54065a337fabe7378b8585aeda56a3";
};
# invalid command 'test'
doCheck = false;
meta = with stdenv.lib; {
homepage = https://pypi.python.org/pypi/progressbar;
description = "Text progressbar library for python";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ domenkozar ];
};
}

View File

@ -13984,24 +13984,7 @@ in {
};
};
progressbar = buildPythonPackage (rec {
name = "progressbar-2.2";
src = pkgs.fetchurl {
url = "mirror://pypi/p/progressbar/${name}.tar.gz";
sha256 = "dfee5201237ca0e942baa4d451fee8bf8a54065a337fabe7378b8585aeda56a3";
};
# invalid command 'test'
doCheck = false;
meta = {
homepage = http://code.google.com/p/python-progressbar/;
description = "Text progressbar library for python";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ domenkozar ];
};
});
progressbar = callPackage ../development/python-modules/progressbar {};
progressbar2 = callPackage ../development/python-modules/progressbar2 { };