pythonPackages.urwidtrees: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-28 13:04:08 -04:00
parent 410edb293a
commit 36be37f7f2
2 changed files with 27 additions and 19 deletions

View 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;
};
}