18 lines
447 B
Nix
18 lines
447 B
Nix
final: prev: {
|
|
kcr = prev.stdenv.mkDerivation {
|
|
pname = "kcr";
|
|
version = "nightly";
|
|
|
|
src = prev.fetchzip {
|
|
url = "https://github.com/alexherbo2/kakoune.cr/releases/download/nightly/kakoune.cr-nightly-x86_64-unknown-linux-musl.zip";
|
|
stripRoot = false;
|
|
sha256 = "sha256-3OqhuSXKZE/gakbUN/0iSqcsjvQnnXBcVq/zc7vMO04=";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
install bin/kcr $out/bin
|
|
'';
|
|
};
|
|
}
|