Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 meson, 6 ninja, 7 pkg-config, 8 wrapGAppsHook3, 9 wayfire, 10 wf-shell, 11 wayland-scanner, 12 wayland-protocols, 13 gtk3, 14 gtkmm3, 15 libevdev, 16 libxml2, 17 libxkbcommon, 18}: 19 20stdenv.mkDerivation (finalAttrs: { 21 pname = "wcm"; 22 version = "0.9.0"; 23 24 src = fetchFromGitHub { 25 owner = "WayfireWM"; 26 repo = "wcm"; 27 rev = "v${finalAttrs.version}"; 28 fetchSubmodules = true; 29 hash = "sha256-oaaEtyu/9XVhFTkmD7WjScMycpKf+M7oPyQatbY23Vo="; 30 }; 31 32 nativeBuildInputs = [ 33 meson 34 ninja 35 pkg-config 36 wayland-scanner 37 wrapGAppsHook3 38 ]; 39 40 buildInputs = [ 41 wayfire 42 wf-shell 43 wayland-protocols 44 gtk3 45 gtkmm3 46 libevdev 47 libxml2 48 libxkbcommon 49 ]; 50 51 mesonFlags = [ 52 "-Denable_wdisplays=false" 53 ]; 54 55 meta = { 56 homepage = "https://github.com/WayfireWM/wcm"; 57 description = "Wayfire Config Manager"; 58 license = lib.licenses.mit; 59 maintainers = with lib.maintainers; [ 60 wucke13 61 rewine 62 ]; 63 platforms = lib.platforms.unix; 64 mainProgram = "wcm"; 65 }; 66})