diff --git a/pkgs/development/tools/neil/default.nix b/pkgs/development/tools/neil/default.nix new file mode 100644 index 000000000000..643ca8773cb7 --- /dev/null +++ b/pkgs/development/tools/neil/default.nix @@ -0,0 +1,36 @@ +{ lib +, stdenv +, fetchFromGitHub +, makeWrapper +, babashka +}: + +stdenv.mkDerivation rec { + pname = "neil"; + version = "0.0.13"; + + src = fetchFromGitHub { + owner = "babashka"; + repo = "neil"; + rev = "v${version}"; + sha256 = "0jiyl0d39d8kk5bpangwxiy90vqipj4lgp8x84rh4z5m53knjpkd"; + }; + + nativeBuildInputs = [ makeWrapper ]; + + dontBuild = true; + + installPhase = '' + install -D neil $out/bin/neil + wrapProgram $out/bin/neil \ + --prefix PATH : "${lib.makeBinPath [ babashka ]}" + ''; + + meta = with lib; { + homepage = "https://github.com/babashka/neil"; + description = "A CLI to add common aliases and features to deps.edn-based projects"; + license = licenses.mit; + platforms = babashka.meta.platforms; + maintainers = with maintainers; [ jlesquembre ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c53485f5dea4..ab28214c08b6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7669,6 +7669,8 @@ with pkgs; pwsafe = callPackage ../applications/misc/pwsafe { }; + neil = callPackage ../development/tools/neil { }; + niff = callPackage ../tools/package-management/niff { }; nifskope = libsForQt5.callPackage ../tools/graphics/nifskope { };