pythonPackages.urwidtrees: refactor move to python-modules
This commit is contained in:
parent
410edb293a
commit
36be37f7f2
26
pkgs/development/python-modules/urwidtrees/default.nix
Normal file
26
pkgs/development/python-modules/urwidtrees/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, urwid
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "urwidtrees";
|
||||||
|
version = "1.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "pazz";
|
||||||
|
repo = "urwidtrees";
|
||||||
|
rev = "${version}";
|
||||||
|
sha256 = "03gpcdi45z2idy1fd9zv8v9naivmpfx65hshm8r984k9wklv1dsa";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ urwid ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Tree widgets for urwid";
|
||||||
|
homepage = https://github.com/pazz/urwidtrees;
|
||||||
|
license = licenses.gpl3;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4073,25 +4073,7 @@ in {
|
|||||||
|
|
||||||
urwid = callPackage ../development/python-modules/urwid {};
|
urwid = callPackage ../development/python-modules/urwid {};
|
||||||
|
|
||||||
urwidtrees = buildPythonPackage rec {
|
urwidtrees = callPackage ../development/python-modules/urwidtrees { };
|
||||||
name = "urwidtrees-${rev}";
|
|
||||||
rev = "1.0";
|
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "pazz";
|
|
||||||
repo = "urwidtrees";
|
|
||||||
inherit rev;
|
|
||||||
sha256 = "03gpcdi45z2idy1fd9zv8v9naivmpfx65hshm8r984k9wklv1dsa";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ urwid ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Tree widgets for urwid";
|
|
||||||
license = licenses.gpl3;
|
|
||||||
maintainers = with maintainers; [ ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
user-agents = callPackage ../development/python-modules/user-agents { };
|
user-agents = callPackage ../development/python-modules/user-agents { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user