nixpkgs/pkgs/desktops/arcan/prio/default.nix
AndersonTorres d37b7eba9e arcanPackages.prio: use stdenvNoCC instead of stdenv
It is merely a set of Lua files to be consumed by the Arcan launcher. No
compiler is needed here.
2022-10-16 10:15:23 -05:00

38 lines
836 B
Nix

{ lib
, stdenvNoCC
, fetchFromGitHub
}:
stdenvNoCC.mkDerivation (finalPackages: {
pname = "prio";
version = "unstable-2018-09-13";
src = fetchFromGitHub {
owner = "letoram";
repo = finalPackages.pname;
rev = "c3f97491339d15f063d6937d5f89bcfaea774dd1";
hash = "sha256-Idv/duEYmDk/rO+TI8n+FY3VFDtUEh8C292jh12BJuM=";
};
dontConfigure = true;
dontBuild = true;
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;
};
})