2015-04-22 08:00:26 +00:00
|
|
|
{ lib, pythonPackages, fetchFromGitHub }:
|
2014-08-24 12:17:17 +00:00
|
|
|
|
2015-04-22 08:00:26 +00:00
|
|
|
let version = "0.1.2"; in
|
2016-02-19 12:12:11 +00:00
|
|
|
pythonPackages.buildPythonApplication {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "nixbang";
|
|
|
|
inherit version;
|
2014-08-24 12:17:17 +00:00
|
|
|
namePrefix = "";
|
|
|
|
|
2015-04-22 08:00:26 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "madjar";
|
|
|
|
repo = "nixbang";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1kzk53ry60i814wa6n9y2ni0bcxhbi9p8gdv10b974gf23mhi8vc";
|
2014-08-24 12:17:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/madjar/nixbang";
|
2014-08-24 12:17:17 +00:00
|
|
|
description = "A special shebang to run scripts in a nix-shell";
|
|
|
|
maintainers = [ lib.maintainers.madjar ];
|
|
|
|
platforms = lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|