nixpkgs/pkgs/development/tools/misc/nixbang/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
533 B
Nix
Raw Normal View History

2015-04-22 11:00:26 +03:00
{ lib, pythonPackages, fetchFromGitHub }:
2014-08-24 16:17:17 +04:00
2021-07-17 20:56:23 +03:00
pythonPackages.buildPythonApplication rec {
2019-08-14 00:52:01 +03:00
pname = "nixbang";
2021-07-17 20:56:23 +03:00
version = "0.1.2";
2014-08-24 16:17:17 +04:00
namePrefix = "";
2015-04-22 11:00:26 +03:00
src = fetchFromGitHub {
owner = "madjar";
repo = "nixbang";
rev = version;
sha256 = "1kzk53ry60i814wa6n9y2ni0bcxhbi9p8gdv10b974gf23mhi8vc";
2014-08-24 16:17:17 +04:00
};
meta = {
homepage = "https://github.com/madjar/nixbang";
2014-08-24 16:17:17 +04:00
description = "A special shebang to run scripts in a nix-shell";
maintainers = [ lib.maintainers.madjar ];
platforms = lib.platforms.all;
};
}