Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 buildPythonPackage, 6 pillow, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "ttkbootstrap"; 12 version = "1.12.1"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "israel-dryer"; 17 repo = "ttkbootstrap"; 18 tag = "v${version}"; 19 hash = "sha256-Pkp45lB1Xeu9ZoLjKS8aSW2By/k3ID1qwMig/jdYHh4="; 20 }; 21 22 build-system = [ 23 setuptools 24 ]; 25 26 dependencies = [ 27 pillow 28 ]; 29 30 # As far as I can tell, all tests require a display and are not normal-ish pytests 31 # but appear to just be python scripts that run demos of components? 32 doCheck = false; 33 34 meta = { 35 description = "Supercharged theme extension for tkinter inspired by Bootstrap"; 36 homepage = "https://github.com/israel-dryer/ttkbootstrap"; 37 maintainers = with lib.maintainers; [ e1mo ]; 38 license = lib.licenses.mit; 39 }; 40}