mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
pythondialog: init at 3.4.0
This commit is contained in:
parent
92930b8568
commit
ebaedb0e11
27
pkgs/development/python-modules/pythondialog/default.nix
Normal file
27
pkgs/development/python-modules/pythondialog/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pythondialog";
|
||||
version = "3.4.0";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1728ghsran47jczn9bhlnkvk5bvqmmbihabgif5h705b84r1272c";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
|
||||
}
|
@ -3264,6 +3264,8 @@ in {
|
||||
cudaSupport = false;
|
||||
};
|
||||
|
||||
pythondialog = callPackage ../development/python-modules/pythondialog { };
|
||||
|
||||
python2-pythondialog = callPackage ../development/python-modules/python2-pythondialog { };
|
||||
|
||||
pyRFC3339 = callPackage ../development/python-modules/pyrfc3339 { };
|
||||
|
Loading…
Reference in New Issue
Block a user