nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

humblewx: init at 0.2.2

needed for timeline package

authored by

davidak and committed by
Jonathan Ringer
046bc37d 852b4e90

+44
+42
pkgs/development/python-modules/humblewx/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , buildPythonPackage 4 + , wxPython_4_0 5 + , python3 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "humblewx"; 10 + version = "0.2.2"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "thetimelineproj"; 14 + repo = pname; 15 + rev = version; 16 + sha256 = "0fv8gwlbcj000qq34inbwgxf0xgibs590dsyqnw0mmyb7f1iq210"; 17 + }; 18 + 19 + # timeline is not compatible with wxPython_4_1. reported upstream 20 + propagatedBuildInputs = [ wxPython_4_0 ]; 21 + 22 + checkPhase = '' 23 + runHook preCheck 24 + for i in examples/*; do 25 + ${python3.interpreter} $i 26 + done 27 + runHook postCheck 28 + ''; 29 + 30 + # Unable to access the X Display, is $DISPLAY set properly? 31 + # would have to use nixos module tests, but it is not worth it 32 + doCheck = false; 33 + 34 + pythonImportsCheck = [ "humblewx" ]; 35 + 36 + meta = { 37 + homepage = "https://github.com/thetimelineproj/humblewx"; 38 + description = "Library that simplifies creating user interfaces with wxPython"; 39 + license = lib.licenses.gpl3Only; 40 + maintainers = with lib.maintainers; [ davidak ]; 41 + }; 42 + }
+2
pkgs/top-level/python-packages.nix
··· 3149 3149 3150 3150 humanize = callPackage ../development/python-modules/humanize { }; 3151 3151 3152 + humblewx = callPackage ../development/python-modules/humblewx { }; 3153 + 3152 3154 hupper = callPackage ../development/python-modules/hupper { }; 3153 3155 3154 3156 hvac = callPackage ../development/python-modules/hvac { };