depot/third_party/nixpkgs/pkgs/development/python-modules/pmw/default.nix

30 lines
646 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
tkinter,
}:
buildPythonPackage rec {
pname = "pmw";
version = "2.1.1";
format = "setuptools";
src = fetchPypi {
pname = "Pmw";
inherit version;
hash = "sha256-lIQSRXz8zwx3XdCOCRP7APkIlqM8eXN9VxxzEq6vVcY=";
};
propagatedBuildInputs = [ tkinter ];
# Disable tests due to their xserver requirement
doCheck = false;
meta = {
description = "Toolkit for building high-level compound widgets in Python using the Tkinter module";
homepage = "https://pmw.sourceforge.net/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ mounium ];
};
}