bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
28 lines
617 B
Nix
28 lines
617 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
isPy3k,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pythondialog";
|
|
version = "3.5.3";
|
|
format = "setuptools";
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "b2a34a8af0a6625ccbdf45cd343b854fc6c1a85231dadc80b8805db836756323";
|
|
};
|
|
|
|
patchPhase = ''
|
|
substituteInPlace dialog.py --replace ":/bin:/usr/bin" ":$out/bin"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Python interface to the UNIX dialog utility and mostly-compatible programs";
|
|
homepage = "http://pythondialog.sourceforge.net/";
|
|
license = licenses.lgpl3;
|
|
};
|
|
}
|