Merge pull request #117220 from dotlambda/easygui

pythonPackages.easygui: fix build
This commit is contained in:
Fabian Affolter 2021-03-22 19:34:25 +01:00 committed by GitHub
commit db48ea25d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, fetchPypi, buildPythonPackage }:
{ lib, fetchPypi, buildPythonPackage, tkinter }:
buildPythonPackage rec {
pname = "easygui";
@ -9,8 +9,18 @@ buildPythonPackage rec {
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";