Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
715 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
asciidoc-full,
}:
stdenv.mkDerivation rec {
pname = "rep";
version = "0.2.2";
src = fetchFromGitHub {
owner = "eraserhd";
repo = "rep";
rev = "v${version}";
sha256 = "pqmISVm3rYGxRuwKieVpRwXE8ufWnBHEA6h2hrob51s=";
};
nativeBuildInputs = [
asciidoc-full
];
postPatch = ''
substituteInPlace rc/rep.kak --replace '$(rep' '$('"$out/bin/rep"
'';
makeFlags = [ "prefix=$(out)" ];
meta = with lib; {
description = "Single-shot nREPL client";
mainProgram = "rep";
homepage = "https://github.com/eraserhd/rep";
license = licenses.epl10;
platforms = platforms.all;
maintainers = [ maintainers.eraserhd ];
};
}