40 lines
839 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
buildPythonPackage,
pillow,
setuptools,
}:
buildPythonPackage rec {
pname = "ttkbootstrap";
version = "1.12.1";
src = fetchFromGitHub {
owner = "israel-dryer";
repo = "ttkbootstrap";
tag = "v${version}";
hash = "sha256-Pkp45lB1Xeu9ZoLjKS8aSW2By/k3ID1qwMig/jdYHh4=";
};
build-system = [
setuptools
];
dependencies = [
pillow
];
# As far as I can tell, all tests require a display and are not normal-ish pytests
# but appear to just be python scripts that run demos of components?
doCheck = false;
meta = {
description = "Supercharged theme extension for tkinter inspired by Bootstrap";
homepage = "https://github.com/israel-dryer/ttkbootstrap";
maintainers = with lib.maintainers; [ e1mo ];
license = lib.licenses.mit;
};
}