1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-19 07:59:24 +03:00
nixpkgs/pkgs/development/python-modules/easygui/default.nix

31 lines
700 B
Nix
Raw Normal View History

2021-03-22 13:30:16 +01:00
{ lib, fetchPypi, buildPythonPackage, tkinter }:
2018-03-09 10:18:36 +01:00
buildPythonPackage rec {
pname = "easygui";
version = "0.98.2";
2018-03-09 10:18:36 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "073f728ca88a77b74f404446fb8ec3004945427677c5618bd00f70c1b999fef2";
2018-03-09 10:18:36 +01:00
};
2021-03-22 13:30:16 +01:00
postPatch = ''
substituteInPlace setup.py --replace README.md README.txt
'';
propagatedBuildInputs = [
tkinter
];
2018-03-09 10:18:36 +01:00
doCheck = false; # No tests available
2021-03-22 13:30:16 +01:00
pythonImportsCheck = [ "easygui" ];
meta = with lib; {
2018-03-09 10:18:36 +01:00
description = "Very simple, very easy GUI programming in Python";
homepage = "https://github.com/robertlugg/easygui";
2018-03-09 10:18:36 +01:00
license = licenses.bsd3;
maintainers = with maintainers; [ jfrankenau ];
};
}