nixpkgs/pkgs/by-name/cl/clearlooks-phenix/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

34 lines
1.0 KiB
Nix

{ lib, stdenv, fetchzip }:
stdenv.mkDerivation rec {
version = "7.0.1";
pname = "clearlooks-phenix";
src = fetchzip {
url = "https://github.com/jpfleury/clearlooks-phenix/archive/${version}.tar.gz";
sha256 = "1b6y4l3rf3c5r4v72fyj3ppvnvw13kvr2a1dyl63ni1jxnlk50kd";
};
dontBuild = true;
installPhase = ''
mkdir -p $out/share/themes/Clearlooks-Phenix
cp -r . $out/share/themes/Clearlooks-Phenix/
'';
preferLocalBuild = true;
meta = with lib; {
description = "GTK3 port of the Clearlooks theme";
longDescription = ''
The Clearlooks-Phénix project aims at creating a GTK3 port of Clearlooks,
the default theme for Gnome 2. Style is also included for GTK2, Unity and
for Metacity, Openbox and Xfwm4 window managers.
'';
homepage = "https://github.com/jpfleury/clearlooks-phenix";
downloadPage = "https://github.com/jpfleury/clearlooks-phenix/releases";
license = licenses.gpl3;
maintainers = [ maintainers.prikhi ];
platforms = platforms.linux;
};
}