nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 54 lines 998 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromSourcehut, 5 meson, 6 pkg-config, 7 scdoc, 8 ninja, 9 libxkbcommon, 10 wayland, 11 wayland-scanner, 12}: 13 14stdenv.mkDerivation (finalAttrs: { 15 pname = "wlrctl"; 16 version = "0.2.2"; 17 18 src = fetchFromSourcehut { 19 owner = "~brocellous"; 20 repo = "wlrctl"; 21 rev = "v${finalAttrs.version}"; 22 sha256 = "sha256-5mDcCSHbZMbfXbksAO4YhELznKpanse7jtbtfr09HL0="; 23 }; 24 25 strictDeps = true; 26 depsBuildBuild = [ 27 pkg-config 28 ]; 29 nativeBuildInputs = [ 30 meson 31 pkg-config 32 scdoc 33 ninja 34 wayland-scanner 35 ]; 36 buildInputs = [ 37 libxkbcommon 38 wayland 39 ]; 40 41 env.NIX_CFLAGS_COMPILE = "-Wno-error=type-limits"; 42 43 meta = { 44 description = "Command line utility for miscellaneous wlroots Wayland extensions"; 45 homepage = "https://git.sr.ht/~brocellous/wlrctl"; 46 license = lib.licenses.mit; 47 maintainers = with lib.maintainers; [ 48 puffnfresh 49 artturin 50 ]; 51 platforms = lib.platforms.linux; 52 mainProgram = "wlrctl"; 53 }; 54})