8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
22 lines
553 B
Nix
22 lines
553 B
Nix
{ lib, pythonPackages, fetchFromGitHub }:
|
|
|
|
let version = "0.1.2"; in
|
|
pythonPackages.buildPythonApplication {
|
|
pname = "nixbang";
|
|
inherit version;
|
|
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;
|
|
};
|
|
}
|