Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / flametree / default.nix
blob2a3ff69235c39aa8803b8ca274101b0e83bded49
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , fontconfig
5 , matplotlib
6 , pandas
7 , pytestCheckHook
8 , weasyprint
9 }:
11 buildPythonPackage rec {
12   pname = "flametree";
13   version = "0.1.12";
14   format = "setuptools";
16   src = fetchFromGitHub {
17     owner = "Edinburgh-Genome-Foundry";
18     repo = "Flametree";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-oyiuhsYouGDKRssKc0aYIoG32H7GS6Bn4RtI7/9N158=";
21   };
23   nativeCheckInputs = [
24     matplotlib
25     pandas
26     pytestCheckHook
27     weasyprint
28   ];
30   preCheck = ''
31     export FONTCONFIG_FILE=${fontconfig.out}/etc/fonts/fonts.conf
32   '';
34   disabledTests = [
35     # AssertionError, https://github.com/Edinburgh-Genome-Foundry/Flametree/issues/9
36     "test_weasyprint"
37   ];
39   pythonImportsCheck = [ "flametree" ];
41   meta = with lib; {
42     description = "Python file and zip operations made easy";
43     homepage = "https://github.com/Edinburgh-Genome-Foundry/Flametree";
44     license = licenses.mit;
45     maintainers = with maintainers; [ prusnak ];
46   };