2023-05-31 18:53:16 +00:00
|
|
|
final: prev: {
|
|
|
|
prr = prev.buildNpmPackage {
|
|
|
|
pname = "prr";
|
2023-12-11 11:38:46 +00:00
|
|
|
version = "unstable-2023-11-27";
|
2023-05-31 18:53:16 +00:00
|
|
|
|
|
|
|
src = prev.fetchFromGitHub {
|
|
|
|
owner = "TritonDataCenter";
|
|
|
|
repo = "prr";
|
2023-12-11 11:38:46 +00:00
|
|
|
rev = "c2c3f031b6719984f620ff4ce72163bacaa170e4";
|
|
|
|
hash = "sha256-3xNs30ZOXgSZK7thMEr4XdKCKB0effmwglT88zJtrTE=";
|
2023-05-31 18:53:16 +00:00
|
|
|
};
|
|
|
|
|
2023-12-11 11:38:46 +00:00
|
|
|
npmDepsHash = "sha256-4wzMmjSyauZbtW0zqE1PCOsM0YRH4/ngYlHoudiLAsg=";
|
2023-05-31 18:53:16 +00:00
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
|
|
npmInstallHook
|
|
|
|
|
|
|
|
mkdir -p $out/bin
|
|
|
|
ln -s $out/lib/node_modules/prr/bin/prr $out/bin/prr
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with prev.lib; {
|
|
|
|
homepage = "https://github.com/TritonDataCenter/prr";
|
|
|
|
description = "Tooling to assist with GitHub pull requests";
|
|
|
|
platforms = ["x86_64-linux"];
|
|
|
|
maintainers = with maintainers; [teutat3s];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|