bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
22 lines
560 B
Nix
22 lines
560 B
Nix
{ 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 = "Special shebang to run scripts in a nix-shell";
|
|
mainProgram = "nixbang";
|
|
maintainers = [ lib.maintainers.madjar ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|