Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 39 lines 689 B view raw
1{ lib 2, fetchPypi 3, buildPythonPackage 4, traits 5, pyface 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "traitsui"; 11 version = "7.4.2"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-IEcb8znD7ed/BrL6l76Qrj0Wbr78zBZ7y9oifHWxZj8="; 19 }; 20 21 propagatedBuildInputs = [ 22 traits 23 pyface 24 ]; 25 26 # Needs X server 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "traitsui" 31 ]; 32 33 meta = with lib; { 34 description = "Traits-capable windowing framework"; 35 homepage = "https://github.com/enthought/traitsui"; 36 license = licenses.bsdOriginal; 37 maintainers = with maintainers; [ knedlsepp ]; 38 }; 39}