Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 58 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ fetchFromGitHub, lib, buildPythonPackage, git, which, unittestCheckHook, sphinxHook, sphinx-argparse, parameterized, setuptools, nix,}:
buildPythonPackage rec { pname = "nix-prefetch-github"; version = "7.1.0"; pyproject = true;
outputs = [ "out" "man" ];
src = fetchFromGitHub { owner = "seppeljordan"; repo = "nix-prefetch-github"; rev = "v${version}"; hash = "sha256-eQd/MNlnuzXzgFzvwUMchvHoIvkIrbpGKV7iknO14Cc="; };
dependencies = [ nix ];
nativeBuildInputs = [ sphinxHook sphinx-argparse setuptools ]; nativeCheckInputs = [ unittestCheckHook git which parameterized ];
sphinxBuilders = [ "man" ]; sphinxRoot = "docs";
# ignore tests which are impure env.DISABLED_TESTS = "network requires_nix_build";
meta = { description = "Prefetch sources from github"; homepage = "https://github.com/seppeljordan/nix-prefetch-github"; license = lib.licenses.gpl3; maintainers = with lib.maintainers; [ seppeljordan ]; };}