mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 20:23:02 +00:00
85afe9737c
* sov: fix default config location * Update pkgs/tools/wayland/sov/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
30 lines
823 B
Nix
30 lines
823 B
Nix
{ lib, stdenv, fetchFromGitHub
|
|
, meson, pkg-config, wayland-scanner, ninja
|
|
, wayland, wayland-protocols, freetype,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sov";
|
|
version = "0.71";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "milgra";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-6FdZ3UToeIAARxrOqSWBX+ALrlr4s2J0bj9c3l9ZTyQ=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace src/sov/main.c --replace '/usr' $out
|
|
'';
|
|
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 ];
|
|
};
|
|
}
|