1 { lib, buildNimPackage, fetchFromGitHub, nim, makeWrapper }:
3 buildNimPackage (final: prev: {
7 src = fetchFromGitHub {
10 rev = "v${final.version}";
11 hash = "sha256-8b5yKvEl7c7wA/8cpdaN2CSvawQJzuRce6mULj3z/mI=";
14 nativeBuildInputs = [ makeWrapper ];
16 doCheck = false; # it works on their machine
19 wrapProgram $out/bin/nimble \
20 --suffix PATH : ${lib.makeBinPath [ nim ]}
24 description = "Package manager for the Nim programming language";
25 homepage = "https://github.com/nim-lang/nimble";
26 license = licenses.bsd3;
27 maintainers = with maintainers; [ ehmry ];
28 mainProgram = "nimble";