mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 01:33:17 +01:00
packages: Drop desktop-icons
Unfortunately this isn't as useful as nemo-desktop due to the lack of text shadow.
This commit is contained in:
parent
37787f48ee
commit
340ec5cf99
@ -1,51 +0,0 @@
|
|||||||
{
|
|
||||||
lib,
|
|
||||||
stdenv,
|
|
||||||
fetchFromGitHub,
|
|
||||||
pkg-config,
|
|
||||||
gtk3,
|
|
||||||
gtk-layer-shell,
|
|
||||||
glib,
|
|
||||||
wrapGAppsHook3,
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
|
||||||
pname = "desktop-icons";
|
|
||||||
version = "0-unstable-2024-02-25";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "Geronymos";
|
|
||||||
repo = "desktop-icons";
|
|
||||||
rev = "5a1f4e12fcf405df7daf0986eb580efaad37c3c2";
|
|
||||||
hash = "sha256-Hp+eMai0KhFsD8rgs5TaEVSNviF9MhyNfKttzekAgQg=";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
pkg-config
|
|
||||||
wrapGAppsHook3
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
gtk3
|
|
||||||
gtk-layer-shell
|
|
||||||
];
|
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
runHook preInstall
|
|
||||||
|
|
||||||
install -Dm755 dicons $out/bin/dicons
|
|
||||||
|
|
||||||
runHook postInstall
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Show files from a directory on the desktop for wlroots based compositors";
|
|
||||||
homepage = "https://github.com/Geronymos/desktop-icons";
|
|
||||||
license = lib.licenses.gpl3Only;
|
|
||||||
maintainers = with lib.maintainers; [ donovanglover ];
|
|
||||||
mainProgram = "dicons";
|
|
||||||
platforms = lib.platforms.all;
|
|
||||||
};
|
|
||||||
})
|
|
Loading…
Reference in New Issue
Block a user