mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00:00
labwc-tweaks: init at unstable-2023-12-08
This commit is contained in:
parent
022cbac13d
commit
7eefd63886
50
pkgs/by-name/la/labwc-tweaks/package.nix
Normal file
50
pkgs/by-name/la/labwc-tweaks/package.nix
Normal file
@ -0,0 +1,50 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, gtk3
|
||||
, libxml2
|
||||
, wrapGAppsHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "labwc-tweaks";
|
||||
version = "unstable-2023-12-08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "labwc";
|
||||
repo = finalAttrs.pname;
|
||||
rev = "1c79d6a5ee3ac3d1a6140a1a98ae89674ef36635";
|
||||
hash = "sha256-RD1VCKVoHsoY7SezY7tjZzomikMgA7N6B5vaYkIo9Es=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
libxml2
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace stack-lang.c --replace /usr/share /run/current-system/sw/share
|
||||
sed -i '/{ NULL, "\/usr\/share" },/i { NULL, "/run/current-system/sw/share" },' theme.c
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/labwc/labwc-tweaks";
|
||||
description = "Configuration gui app for labwc";
|
||||
mainProgram = "labwc-tweaks";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ romildo ];
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user