nixpkgs/pkgs/by-name/nu/numix-sx-gtk-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

31 lines
817 B
Nix

{ lib, stdenv, fetchurl, gtk-engine-murrine }:
stdenv.mkDerivation {
version = "2017-04-24";
pname = "numix-sx-gtk-theme";
src = fetchurl {
url = "https://dl.opendesktop.org/api/files/download/id/1493077417/Numix-SX.tar.xz";
sha256 = "7e1983924b2d90e89eddb3da8f4c43dc1326fe138fd191c8212c7904dcd618b0";
};
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
dontBuild = true;
sourceRoot = ".";
installPhase = ''
install -dm 755 "$out/share/themes/"
cp -dr --no-preserve='ownership' Numix-SX-{Dark,FullDark,Light} "$out/share/themes/"
'';
meta = {
description = "Gray variation of Numix theme";
homepage = "https://www.gnome-look.org/p/1117412/";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.all;
maintainers = [ lib.maintainers.sauyon ];
};
}