mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 13:33:12 +00:00
46 lines
907 B
Nix
46 lines
907 B
Nix
{ lib
|
|
, stdenvNoCC
|
|
, fetchFromGitHub
|
|
, just
|
|
, pop-icon-theme
|
|
, hicolor-icon-theme
|
|
, unstableGitUpdater
|
|
}:
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "cosmic-icons";
|
|
version = "0-unstable-2024-08-04";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pop-os";
|
|
repo = pname;
|
|
rev = "f93dcdfa1060c2cf3f8cf0b56b0338292edcafa5";
|
|
sha256 = "sha256-KvEKFmsh7ljt9JbaqyZfTUiFZHZM2Ha1TwUDljXXLDw=";
|
|
};
|
|
|
|
nativeBuildInputs = [ just ];
|
|
|
|
justFlags = [
|
|
"--set"
|
|
"prefix"
|
|
(placeholder "out")
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
pop-icon-theme
|
|
hicolor-icon-theme
|
|
];
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
meta = with lib; {
|
|
description = "System76 Cosmic icon theme for Linux";
|
|
homepage = "https://github.com/pop-os/cosmic-icons";
|
|
license = with licenses; [
|
|
cc-by-sa-40
|
|
];
|
|
maintainers = with maintainers; [ a-kenji ];
|
|
};
|
|
}
|