Commit d1ee8af6 authored by Sebastian Jordan's avatar Sebastian Jordan
Browse files

python3Packages.nix-prefetch-github: v7.0.0 -> v7.1.0

parent a4d4fe8c
Loading
Loading
Loading
Loading
+14 −5
Original line number Diff line number Diff line
@@ -5,23 +5,32 @@
, which
, pythonOlder
, unittestCheckHook
, sphinxHook
, sphinx-argparse
, parameterized
, setuptools
}:

buildPythonPackage rec {
  pname = "nix-prefetch-github";
  version = "7.0.0";
  format = "setuptools";
  version = "7.1.0";
  pyproject = true;

  disabled = pythonOlder "3.8";
  outputs = [ "out" "man" ];
  disabled = pythonOlder "3.9";

  src = fetchFromGitHub {
    owner = "seppeljordan";
    repo = "nix-prefetch-github";
    rev = "v${version}";
    hash = "sha256-oIR2iEiOBQ1VKouJTLqEiWWNzrMSJcnxK+m/j9Ia/m8=";
    hash = "sha256-eQd/MNlnuzXzgFzvwUMchvHoIvkIrbpGKV7iknO14Cc=";
  };

  nativeCheckInputs = [ unittestCheckHook git which ];
  nativeBuildInputs = [ sphinxHook sphinx-argparse setuptools ];
  nativeCheckInputs = [ unittestCheckHook git which parameterized ];

  sphinxBuilders = [ "man" ];
  sphinxRoot = "docs";

  # ignore tests which are impure
  DISABLED_TESTS = "network requires_nix_build";