summary refs log tree commit diff
path: root/pkgs/development/tools/misc/nixbang/default.nix
blob: bcddf4479eb02440aeea50c0adbcf182199d05e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, pythonPackages, fetchFromGitHub }:

pythonPackages.buildPythonApplication rec {
  pname = "nixbang";
  version = "0.1.2";
  namePrefix = "";

  src = fetchFromGitHub {
    owner = "madjar";
    repo = "nixbang";
    rev = version;
    sha256 = "1kzk53ry60i814wa6n9y2ni0bcxhbi9p8gdv10b974gf23mhi8vc";
  };

  meta = {
    homepage = "https://github.com/madjar/nixbang";
    description = "A special shebang to run scripts in a nix-shell";
    maintainers = [ lib.maintainers.madjar ];
    platforms = lib.platforms.all;
  };
}