587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
31 lines
706 B
Nix
31 lines
706 B
Nix
{ lib, stdenv, fetchFromGitHub, asciidoc-full }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rep";
|
|
version = "0.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "eraserhd";
|
|
repo = pname;
|
|
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 ];
|
|
};
|
|
}
|