mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
94ce5a875a
`fd "\.nix" pkgs/tools/wayland | xargs rg "strictDeps" --files-without-match | xargs rg "buildRust|buildGo|buildPyt|buildNim" --files-without-match | xargs vim -p` checked with Artturin/diffing removed unnecessary depsBuildBuild in waynergy
33 lines
878 B
Nix
33 lines
878 B
Nix
{ lib, stdenv, fetchFromGitHub
|
|
, meson, pkg-config, wayland-scanner, ninja
|
|
, wayland, wayland-protocols, freetype,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sov";
|
|
version = "0.73";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "milgra";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-cjbTSvW1fCPl2wZ848XrUPU0bDQ4oXy+D8GqyBMaTwQ=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace src/sov/main.c --replace '/usr' $out
|
|
'';
|
|
|
|
strictDeps = true;
|
|
nativeBuildInputs = [ meson pkg-config wayland-scanner ninja ];
|
|
buildInputs = [ wayland wayland-protocols freetype ];
|
|
|
|
meta = with lib; {
|
|
description = "An overlay that shows schemas for all workspaces to make navigation in sway easier.";
|
|
homepage = "https://github.com/milgra/sov";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ travisdavis-ops ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|