forked from mirrors/nixpkgs
4a7f99d55d
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
39 lines
973 B
Nix
39 lines
973 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, gtk3, gnome3, moka-icon-theme, gnome-icon-theme, hicolor-icon-theme }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "arc-icon-theme";
|
|
version = "2016-11-22";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "horst3180";
|
|
repo = pname;
|
|
rev = "55a575386a412544c3ed2b5617a61f842ee4ec15";
|
|
sha256 = "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
gtk3
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
moka-icon-theme
|
|
gnome3.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 ];
|
|
};
|
|
}
|