nixpkgs/pkgs/by-name/ar/arc-icon-theme/package.nix
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00

39 lines
957 B
Nix

{ lib, stdenvNoCC, fetchFromGitHub, autoreconfHook, gtk3, adwaita-icon-theme, moka-icon-theme, gnome-icon-theme, hicolor-icon-theme }:
stdenvNoCC.mkDerivation rec {
pname = "arc-icon-theme";
version = "20161122";
src = fetchFromGitHub {
owner = "horst3180";
repo = "arc-icon-theme";
rev = version;
hash = "sha256-TfYtzwo69AC5hHbzEqB4r5Muqvn/eghCGSlmjMCFA7I=";
};
nativeBuildInputs = [
autoreconfHook
gtk3
];
propagatedBuildInputs = [
moka-icon-theme
adwaita-icon-theme
gnome-icon-theme
hicolor-icon-theme
];
dontDropIconThemeCache = true;
postFixup = "gtk-update-icon-cache $out/share/icons/Arc";
meta = with lib; {
description = "Arc icon theme";
homepage = "https://github.com/horst3180/arc-icon-theme";
license = licenses.gpl3;
# moka-icon-theme dependency is restricted to linux
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}