depot/third_party/nixpkgs/pkgs/by-name/co/cosmic-icons/package.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

45 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-07-17";
src = fetchFromGitHub {
owner = "pop-os";
repo = pname;
rev = "73be037ba266b08a2fa7b544d78e7f143a2894c5";
sha256 = "sha256-Lyn9VneGr7RcfMPREOs3tP/HzpoRcnmw/nyo7kzOKCw=";
};
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 ];
};
}