31 lines
687 B
Nix
31 lines
687 B
Nix
{ lib, fetchPypi, buildPythonPackage, tkinter }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "easygui";
|
|
version = "0.98.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-1lP/ee4fQvY7WgkPL5jOAjNdhq2JY7POJmGAXK/pmgQ=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace setup.py --replace README.md README.txt
|
|
'';
|
|
|
|
propagatedBuildInputs = [
|
|
tkinter
|
|
];
|
|
|
|
doCheck = false; # No tests available
|
|
|
|
pythonImportsCheck = [ "easygui" ];
|
|
|
|
meta = with lib; {
|
|
description = "Very simple, very easy GUI programming in Python";
|
|
homepage = "https://github.com/robertlugg/easygui";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ jfrankenau ];
|
|
};
|
|
}
|