2020-04-24 23:36:52 +00:00
|
|
|
{ lib, pythonPackages, fetchFromGitHub }:
|
|
|
|
|
2021-07-18 21:22:44 +00:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "nixbang";
|
2021-07-18 21:22:44 +00:00
|
|
|
version = "0.1.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
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";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "nixbang";
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ lib.maintainers.madjar ];
|
|
|
|
platforms = lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|