nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 49 lines 922 B view raw
1{ lib 2, stdenv 3, fetchFromSourcehut 4, zig 5, river 6, wayland 7, pkg-config 8}: 9 10stdenv.mkDerivation rec { 11 pname = "rivercarro"; 12 version = "0.1.4"; 13 14 src = fetchFromSourcehut { 15 owner = "~novakane"; 16 repo = pname; 17 fetchSubmodules = true; 18 rev = "v${version}"; 19 sha256 = "sha256-eATbbwIt5ytEVLPodyq9vFF9Rs5S1xShpvNYQnfwdV4="; 20 }; 21 22 nativeBuildInputs = [ 23 pkg-config 24 river 25 wayland 26 zig 27 ]; 28 29 dontConfigure = true; 30 31 preBuild = '' 32 export HOME=$TMPDIR 33 ''; 34 35 installPhase = '' 36 runHook preInstall 37 zig build -Drelease-safe -Dcpu=baseline --prefix $out install 38 runHook postInstall 39 ''; 40 41 meta = with lib; { 42 homepage = "https://git.sr.ht/~novakane/rivercarro"; 43 description = "A layout generator for river Wayland compositor, fork of rivertile"; 44 license = licenses.gpl3Plus; 45 platforms = platforms.linux; 46 maintainers = with maintainers; [ kraem ]; 47 }; 48} 49