3
0
Fork 0
forked from mirrors/nixpkgs

pythondialog: init at 3.4.0

This commit is contained in:
Marius Bergmann 2019-09-13 11:14:15 +02:00 committed by Jon
parent 92930b8568
commit ebaedb0e11
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
pname = "pythondialog";
version = "3.4.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1728ghsran47jczn9bhlnkvk5bvqmmbihabgif5h705b84r1272c";
};
patchPhase = ''
substituteInPlace dialog.py --replace ":/bin:/usr/bin" ":$out/bin"
'';
meta = with stdenv.lib; {
description = "A Python interface to the UNIX dialog utility and mostly-compatible programs";
homepage = "http://pythondialog.sourceforge.net/";
license = licenses.lgpl3;
};
}

View file

@ -3264,6 +3264,8 @@ in {
cudaSupport = false;
};
pythondialog = callPackage ../development/python-modules/pythondialog { };
python2-pythondialog = callPackage ../development/python-modules/python2-pythondialog { };
pyRFC3339 = callPackage ../development/python-modules/pyrfc3339 { };