at master 962 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 wxpython, 6 python, 7}: 8 9buildPythonPackage rec { 10 pname = "humblewx"; 11 version = "0.2.2"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "thetimelineproj"; 16 repo = "humblewx"; 17 rev = version; 18 sha256 = "0fv8gwlbcj000qq34inbwgxf0xgibs590dsyqnw0mmyb7f1iq210"; 19 }; 20 21 propagatedBuildInputs = [ wxpython ]; 22 23 checkPhase = '' 24 runHook preCheck 25 for i in examples/*; do 26 ${python.interpreter} $i 27 done 28 runHook postCheck 29 ''; 30 31 # Unable to access the X Display, is $DISPLAY set properly? 32 # would have to use nixos module tests, but it is not worth it 33 doCheck = false; 34 35 pythonImportsCheck = [ "humblewx" ]; 36 37 meta = { 38 homepage = "https://github.com/thetimelineproj/humblewx"; 39 description = "Library that simplifies creating user interfaces with wxPython"; 40 license = lib.licenses.gpl3Only; 41 maintainers = with lib.maintainers; [ davidak ]; 42 }; 43}