blob: 2fb348c0ba911849595a2d9f7be20974b77621f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{
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 = {
description = "Python interface to the UNIX dialog utility and mostly-compatible programs";
homepage = "http://pythondialog.sourceforge.net/";
license = lib.licenses.lgpl3;
};
}
|