blob: abf7b8e9eb2a27b95d8fc0a47ab0672dbf3fc6de (
plain) (
blame)
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 = with lib; {
description = "A Python interface to the UNIX dialog utility and mostly-compatible programs";
homepage = "http://pythondialog.sourceforge.net/";
license = licenses.lgpl3;
};
}
|