Files
nixpkgs/pkgs/development/python-modules/pysimplegui/default.nix
T
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

36 lines
649 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, tkinter
, pythonOlder
}:
buildPythonPackage rec {
pname = "pysimplegui";
version = "4.60.4";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
pname = "PySimpleGUI";
inherit version;
hash = "sha256-+IyCwwGlGuo1vmBdwGC8zrDctmguFigFRIhHAatLI7o=";
};
propagatedBuildInputs = [
tkinter
];
pythonImportsCheck = [
"PySimpleGUI"
];
meta = with lib; {
description = "Python GUIs for Humans";
homepage = "https://github.com/PySimpleGUI/PySimpleGUI";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ lucasew ];
};
}