1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, fontconfig 5, matplotlib 6, pandas 7, pytestCheckHook 8, weasyprint 9}: 10 11buildPythonPackage rec { 12 pname = "flametree"; 13 version = "0.1.11"; 14 15 src = fetchFromGitHub { 16 owner = "Edinburgh-Genome-Foundry"; 17 repo = "Flametree"; 18 rev = "v${version}"; 19 sha256 = "1ynrk1ivl1vjiga0ayl8k89vs5il7i0pf9jz2ycn771c47szwk4x"; 20 }; 21 22 checkInputs = [ 23 matplotlib 24 pandas 25 pytestCheckHook 26 weasyprint 27 ]; 28 29 preCheck = '' 30 export FONTCONFIG_FILE=${fontconfig.out}/etc/fonts/fonts.conf 31 ''; 32 33 disabledTests = [ 34 # AssertionError, https://github.com/Edinburgh-Genome-Foundry/Flametree/issues/9 35 "test_weasyprint" 36 ]; 37 38 pythonImportsCheck = [ "flametree" ]; 39 40 meta = with lib; { 41 description = "Python file and zip operations made easy"; 42 homepage = "https://github.com/Edinburgh-Genome-Foundry/Flametree"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ prusnak ]; 45 }; 46}