nixpkgs/pkgs/by-name/co/cosmic-icons/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
958 B
Nix
Raw Normal View History

2024-10-17 17:15:46 +00:00
{
lib,
stdenvNoCC,
fetchFromGitHub,
just,
pop-icon-theme,
hicolor-icon-theme,
nix-update-script,
}:
2024-10-17 15:18:19 +00:00
stdenvNoCC.mkDerivation {
pname = "cosmic-icons";
version = "1.0.0-alpha.3";
src = fetchFromGitHub {
owner = "pop-os";
2024-10-17 15:18:19 +00:00
repo = "cosmic-icons";
rev = "epoch-1.0.0-alpha.3";
hash = "sha256-7gWCRBiE+XJX1JSjopyPN4bIIgZih6ZKGVSA7wBq3i0=";
};
nativeBuildInputs = [ just ];
justFlags = [
"--set"
"prefix"
(placeholder "out")
];
propagatedBuildInputs = [
pop-icon-theme
hicolor-icon-theme
];
dontDropIconThemeCache = true;
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"epoch-(.*)"
];
};
2023-11-28 23:13:35 +00:00
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 ];
};
}