Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 27 lines 626 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, isPy3k 5}: 6 7buildPythonPackage rec { 8 pname = "python2-pythondialog"; 9 version = "3.4.0"; 10 disabled = isPy3k; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "a96d9cea9a371b5002b5575d1ec351233112519268d382ba6f3582323b3d1335"; 15 }; 16 17 patchPhase = '' 18 substituteInPlace dialog.py --replace ":/bin:/usr/bin" ":$out/bin" 19 ''; 20 21 meta = with stdenv.lib; { 22 description = "A Python interface to the UNIX dialog utility and mostly-compatible programs (Python 2 backport)"; 23 homepage = "http://pythondialog.sourceforge.net/"; 24 license = licenses.lgpl3; 25 }; 26 27}