nixpkgs-suyu/pkgs/by-name/so/sov/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

69 lines
1.3 KiB
Nix
Raw Normal View History

2023-10-13 04:09:59 +02:00
{ lib
, stdenv
, fetchFromGitHub
2023-10-26 01:28:10 +02:00
, fetchpatch2
2023-10-13 04:09:59 +02:00
, meson
, ninja
, pkg-config
, wayland-scanner
, freetype
2023-10-13 04:18:55 +02:00
, libglvnd
, libxkbcommon
2023-10-13 04:09:59 +02:00
, wayland
, wayland-protocols
2023-11-03 19:02:41 +01:00
, gitUpdater
}:
2023-10-13 04:11:47 +02:00
stdenv.mkDerivation (finalAttrs: {
pname = "sov";
2023-11-03 19:04:22 +01:00
version = "0.93";
src = fetchFromGitHub {
owner = "milgra";
2023-10-13 04:11:47 +02:00
repo = "sov";
rev = finalAttrs.version;
2023-11-03 19:04:22 +01:00
hash = "sha256-Oc25ixrl0QX0jBBMV34BPAixyBikvevXJ1JNGZymPhg=";
};
2023-10-26 01:28:10 +02:00
patches = [
# mark wayland-scanner as build-time dependency
# https://github.com/milgra/sov/pull/45
(fetchpatch2 {
url = "https://github.com/milgra/sov/commit/8677dcfc47e440157388a8f15bdda9419d84db04.patch";
hash = "sha256-P1k1zosHcVO7hyhD1JWbj07h7pQ7ybgDHfoufBinEys=";
})
];
strictDeps = true;
2023-10-26 01:28:10 +02:00
depsBuildBuild = [
pkg-config
];
2023-10-13 04:09:59 +02:00
nativeBuildInputs = [
meson
ninja
pkg-config
wayland-scanner
];
2023-10-26 01:28:10 +02:00
2023-10-13 04:09:59 +02:00
buildInputs = [
freetype
2023-10-13 04:18:55 +02:00
libglvnd
libxkbcommon
2023-10-13 04:09:59 +02:00
wayland
wayland-protocols
];
2023-11-03 19:02:41 +01:00
passthru.updateScript = gitUpdater { };
2023-10-13 04:22:38 +02:00
meta = {
description = "Workspace overview app for sway";
homepage = "https://github.com/milgra/sov";
2023-10-13 04:22:38 +02:00
license = lib.licenses.gpl3Only;
mainProgram = "sov";
maintainers = with lib.maintainers; [ eclairevoyant ];
platforms = lib.platforms.linux;
};
2023-10-13 04:11:47 +02:00
})