forked from mirrors/nixpkgs
urwid: move into separate file, use fetchPypi instead of fetchurl
This commit is contained in:
parent
11bba268fe
commit
c463a8e0c5
20
pkgs/development/python-modules/urwid/default.nix
Normal file
20
pkgs/development/python-modules/urwid/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage (rec {
|
||||
pname = "urwid";
|
||||
version = "1.3.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "18cnd1wdjcas08x5qwa5ayw6jsfcn33w4d9f7q3s29fy6qzc1kng";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A full-featured console (xterm et al.) user interface library";
|
||||
homepage = http://excess.org/urwid;
|
||||
repositories.git = git://github.com/wardi/urwid.git;
|
||||
license = licenses.lgpl21;
|
||||
maintainers = with maintainers; [ garbas ];
|
||||
};
|
||||
})
|
|
@ -21977,25 +21977,7 @@ in {
|
|||
|
||||
urlgrabber = callPackage ../development/python-modules/urlgrabber {};
|
||||
|
||||
urwid = buildPythonPackage (rec {
|
||||
name = "urwid-1.3.1";
|
||||
|
||||
# multiple: NameError: name 'evl' is not defined
|
||||
doCheck = false;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/u/urwid/${name}.tar.gz";
|
||||
sha256 = "18cnd1wdjcas08x5qwa5ayw6jsfcn33w4d9f7q3s29fy6qzc1kng";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A full-featured console (xterm et al.) user interface library";
|
||||
homepage = http://excess.org/urwid;
|
||||
repositories.git = git://github.com/wardi/urwid.git;
|
||||
license = licenses.lgpl21;
|
||||
maintainers = with maintainers; [ garbas ];
|
||||
};
|
||||
});
|
||||
urwid = callPackage ../development/python-modules/urwid {};
|
||||
|
||||
urwidtrees = buildPythonPackage rec {
|
||||
name = "urwidtrees-${rev}";
|
||||
|
|
Loading…
Reference in a new issue