2023-03-16 19:34:31 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, stdenvNoCC
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
pname = "replxx";
|
2023-05-05 10:56:11 +00:00
|
|
|
version = "unstable-2023-02-26";
|
2023-03-16 19:34:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dzaima";
|
|
|
|
repo = "replxx";
|
2023-05-05 10:56:11 +00:00
|
|
|
rev = "1da4681a8814366ec51e7630b76558e53be0997d";
|
|
|
|
hash = "sha256-Zs7ItuK31n0VSxwOsPUdZZLr68PypitZqcydACrx90Q=";
|
2023-03-16 19:34:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontConfigure = true;
|
|
|
|
# The CBQN derivation will build replxx, here we just provide the source files.
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out/dev
|
|
|
|
cp -r $src $out/dev
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/dzaima/replxx";
|
|
|
|
description = "A replxx fork for CBQN";
|
|
|
|
license = licenses.free;
|
2023-05-02 07:50:44 +00:00
|
|
|
maintainers = with maintainers; [ AndersonTorres sternenseemann synthetica shnarazk detegr ];
|
2023-03-16 19:34:31 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|