mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
31 lines
700 B
Nix
31 lines
700 B
Nix
{ lib, fetchPypi, buildPythonPackage, tkinter }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "easygui";
|
|
version = "0.98.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "073f728ca88a77b74f404446fb8ec3004945427677c5618bd00f70c1b999fef2";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|