2015-04-22 10:00:26 +02:00
|
|
|
{ lib, pythonPackages, fetchFromGitHub }:
|
2014-08-24 14:17:17 +02:00
|
|
|
|
2015-04-22 10:00:26 +02:00
|
|
|
let version = "0.1.2"; in
|
2014-08-24 14:17:17 +02:00
|
|
|
pythonPackages.buildPythonPackage {
|
|
|
|
name = "nixbang-${version}";
|
|
|
|
namePrefix = "";
|
|
|
|
|
2015-04-22 10:00:26 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "madjar";
|
|
|
|
repo = "nixbang";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1kzk53ry60i814wa6n9y2ni0bcxhbi9p8gdv10b974gf23mhi8vc";
|
2014-08-24 14:17:17 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|