mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
commit
55af9461b2
20
pkgs/development/tools/misc/nixbang/default.nix
Normal file
20
pkgs/development/tools/misc/nixbang/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ lib, pythonPackages, fetchgit }:
|
||||
|
||||
let version = "0.1.1"; in
|
||||
pythonPackages.buildPythonPackage {
|
||||
name = "nixbang-${version}";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://github.com/madjar/nixbang.git";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "1n8jq32r2lzk3g0d95ksfq7vdqciz34jabribrr4hcnz4nlijshf";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -4088,6 +4088,10 @@ let
|
|||
|
||||
ninja = callPackage ../development/tools/build-managers/ninja { };
|
||||
|
||||
nixbang = callPackage ../development/tools/misc/nixbang {
|
||||
pythonPackages = python3Packages;
|
||||
};
|
||||
|
||||
node_webkit = callPackage ../development/tools/node-webkit {
|
||||
gconf = pkgs.gnome.GConf;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue