Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, pythonPackages, fetchFromGitHub }:
2
3pythonPackages.buildPythonApplication rec {
4 pname = "nixbang";
5 version = "0.1.2";
6 namePrefix = "";
7
8 src = fetchFromGitHub {
9 owner = "madjar";
10 repo = "nixbang";
11 rev = version;
12 sha256 = "1kzk53ry60i814wa6n9y2ni0bcxhbi9p8gdv10b974gf23mhi8vc";
13 };
14
15 meta = {
16 homepage = "https://github.com/madjar/nixbang";
17 description = "A special shebang to run scripts in a nix-shell";
18 maintainers = [ lib.maintainers.madjar ];
19 platforms = lib.platforms.all;
20 };
21}