2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, asciidoc-full }:
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "rep";
|
2021-05-04 21:07:42 +00:00
|
|
|
version = "0.2.2";
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "eraserhd";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-05-04 21:07:42 +00:00
|
|
|
sha256 = "pqmISVm3rYGxRuwKieVpRwXE8ufWnBHEA6h2hrob51s=";
|
2020-10-16 20:44:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
asciidoc-full
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace rc/rep.kak --replace '$(rep' '$('"$out/bin/rep"
|
|
|
|
'';
|
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-16 20:44:37 +00:00
|
|
|
description = "Single-shot nREPL client";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "rep";
|
2020-10-16 20:44:37 +00:00
|
|
|
homepage = "https://github.com/eraserhd/rep";
|
|
|
|
license = licenses.epl10;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.eraserhd ];
|
|
|
|
};
|
|
|
|
}
|