mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
43 lines
819 B
Nix
43 lines
819 B
Nix
{ fetchFromGitHub
|
|
, lib
|
|
, stdenvNoCC
|
|
, python3
|
|
, python3Packages
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "mint-themes";
|
|
version = "2.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxmint";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-aB44YMaf4cCFv26zn9ZPeJA7lTdGE5ePI1TkKkG+Ekw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
python3
|
|
python3Packages.libsass
|
|
];
|
|
|
|
preBuild = ''
|
|
patchShebangs .
|
|
'';
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out
|
|
mv usr/share $out
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/linuxmint/mint-themes";
|
|
description = "Mint-X and Mint-Y themes for the cinnamon desktop";
|
|
license = licenses.gpl3; # from debian/copyright
|
|
platforms = platforms.linux;
|
|
maintainers = teams.cinnamon.members;
|
|
};
|
|
}
|