mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 04:24:28 +03:00
progressbar: move to own file and fix homepage
This commit is contained in:
parent
14464b1dc5
commit
6c55f5479d
21
pkgs/development/python-modules/progressbar/default.nix
Normal file
21
pkgs/development/python-modules/progressbar/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user