blob: 0b65baa769dae7a1a1761054dea5dc7762ae79a5 (
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
37
|
{ lib
, stdenv
, fetchFromGitHub
, makeWrapper
, babashka
}:
stdenv.mkDerivation rec {
pname = "neil";
version = "0.3.65";
src = fetchFromGitHub {
owner = "babashka";
repo = "neil";
rev = "v${version}";
sha256 = "sha256-QhWoCEoM04/MlUgCFCeAR7kF6QSg0joz/i9ZbXRQtDs=";
};
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";
mainProgram = "neil";
license = licenses.mit;
platforms = babashka.meta.platforms;
maintainers = with maintainers; [ jlesquembre ];
};
}
|