@@ -0,0 +1,30 @@
1+{ python3
2+, fetchFromGitHub
3+, stdenv
4+}:
5+
6+python3.pkgs.buildPythonApplication rec {
7+ pname = "nix-prefetch-github";
8+ version = "1.3";
9+
10+ src = fetchFromGitHub {
11+ owner = "seppeljordan";
12+ repo = "nix-prefetch-github";
13+ rev = "${version}";
14+ sha256 = "1rinbv1q4q8m27ih6l81w1lsmwn6cz7q3iyjiycklywpi8684dh6";
15+ };
16+
17+ propagatedBuildInputs = with python3.pkgs; [
18+ attrs
19+ click
20+ effect
21+ jinja2
22+ requests
23+ ];
24+ meta = with stdenv.lib; {
25+ description = "Prefetch sources from github";
26+ homepage = https://github.com/seppeljordan/nix-prefetch-github;
27+ license = licenses.gpl3;
28+ maintainers = [ maintainers.seppeljordan ];
29+ };
30+}