Merge pull request #260803 from eclairevoyant/sov
sov: 0.73 -> 0.92b; add meta.mainProgram and other cleanup
This commit is contained in:
@@ -1,32 +1,49 @@
|
||||
{ lib, stdenv, fetchFromGitHub
|
||||
, meson, pkg-config, wayland-scanner, ninja
|
||||
, wayland, wayland-protocols, freetype,
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, wayland-scanner
|
||||
, freetype
|
||||
, libglvnd
|
||||
, libxkbcommon
|
||||
, wayland
|
||||
, wayland-protocols
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "sov";
|
||||
version = "0.73";
|
||||
version = "0.92b";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "milgra";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-cjbTSvW1fCPl2wZ848XrUPU0bDQ4oXy+D8GqyBMaTwQ=";
|
||||
repo = "sov";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-1L5D0pzcXbkz3VS7VB6ID8BJEbGeNxjo3xCr71CGcIo=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/sov/main.c --replace '/usr' $out
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ meson pkg-config wayland-scanner ninja ];
|
||||
buildInputs = [ wayland wayland-protocols freetype ];
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
wayland-scanner
|
||||
];
|
||||
buildInputs = [
|
||||
freetype
|
||||
libglvnd
|
||||
libxkbcommon
|
||||
wayland
|
||||
wayland-protocols
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An overlay that shows schemas for all workspaces to make navigation in sway easier.";
|
||||
meta = {
|
||||
description = "Workspace overview app for sway";
|
||||
homepage = "https://github.com/milgra/sov";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.linux;
|
||||
license = lib.licenses.gpl3Only;
|
||||
mainProgram = "sov";
|
||||
maintainers = with lib.maintainers; [ eclairevoyant ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user