about summary refs log tree commit diff
path: root/pkgs/development/python-modules/urwidtrees
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-28 13:04:08 -0400
committerChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-30 00:50:58 -0400
commit36be37f7f290e1a8f8ed763a3258877d2cabb684 (patch)
treeefd19bd58f934e1c5f32e0d79dc9e6ad186f6beb /pkgs/development/python-modules/urwidtrees
parent410edb293a4ab7601a6ba80f672cf214320e1e5b (diff)
pythonPackages.urwidtrees: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/urwidtrees')
-rw-r--r--pkgs/development/python-modules/urwidtrees/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/urwidtrees/default.nix b/pkgs/development/python-modules/urwidtrees/default.nix
new file mode 100644
index 0000000000000..ac9cf73cab170
--- /dev/null
+++ b/pkgs/development/python-modules/urwidtrees/default.nix
@@ -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;
+  };
+
+}