blob: d19fbd2711646d81e1c2665a70ac9cb91077030e (
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
|
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
pname = "pythondialog";
version = "3.5.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "11ydvllwll23qmcd3saachcxzn1dj5if3kc36p37ncf06xc5c0m4";
};
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;
};
}
|