Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 32 lines 584 B view raw
1{ fetchPypi 2, lib 3, buildPythonPackage 4, attrs 5, click 6, effect 7, jinja2 8}: 9 10buildPythonPackage rec { 11 pname = "nix-prefetch-github"; 12 version = "2.3.2"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "18xj618zjs13ib7f996fnl0xiqig0w48yns45nvy3xab55wximdx"; 17 }; 18 19 propagatedBuildInputs = [ 20 attrs 21 click 22 effect 23 jinja2 24 ]; 25 26 meta = with lib; { 27 description = "Prefetch sources from github"; 28 homepage = https://github.com/seppeljordan/nix-prefetch-github; 29 license = licenses.gpl3; 30 maintainers = with maintainers; [ seppeljordan ]; 31 }; 32}