2021-07-14 22:03:04 +00:00
|
|
|
{ lib
|
2022-10-21 18:38:19 +00:00
|
|
|
, stdenvNoCC
|
2021-07-14 22:03:04 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
stdenvNoCC.mkDerivation (finalPackages: {
|
2021-07-14 22:03:04 +00:00
|
|
|
pname = "prio";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "unstable-2018-09-13";
|
2021-07-14 22:03:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "letoram";
|
2022-08-12 12:06:08 +00:00
|
|
|
repo = finalPackages.pname;
|
2021-07-14 22:03:04 +00:00
|
|
|
rev = "c3f97491339d15f063d6937d5f89bcfaea774dd1";
|
|
|
|
hash = "sha256-Idv/duEYmDk/rO+TI8n+FY3VFDtUEh8C292jh12BJuM=";
|
|
|
|
};
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
dontConfigure = true;
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p ${placeholder "out"}/share/arcan/appl/prio
|
|
|
|
cp -a ./* ${placeholder "out"}/share/arcan/appl/prio
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/letoram/prio";
|
|
|
|
description = "Plan9- Rio like Window Manager for Arcan";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
2022-08-12 12:06:08 +00:00
|
|
|
})
|