about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/easygui/default.nix
blob: 108c5287eb6e5d15e1391c6889704ffcd8d69871 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ 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 ];
  };
}