blob: 96eb34f091704c21ec076069e309271a0c137286 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{ lib
, stdenv
, fetchFromGitHub
, makeWrapper
, babashka
}:
stdenv.mkDerivation rec {
pname = "neil";
version = "0.2.63";
src = fetchFromGitHub {
owner = "babashka";
repo = "neil";
rev = "v${version}";
sha256 = "sha256-mcygDOx5yzOW80bv54cPOKl1t443DXFRq4Hb4KYD5e8=";
};
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 ];
};
}
|