nixpkgs/pkgs/desktops/cinnamon/mint-themes/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
807 B
Nix
Raw Normal View History

2020-03-22 07:11:01 +00:00
{ fetchFromGitHub
2021-11-29 16:34:50 +00:00
, lib
, stdenvNoCC
2020-03-22 07:11:01 +00:00
, python3
, sassc
, sass
}:
stdenvNoCC.mkDerivation rec {
2020-03-22 07:11:01 +00:00
pname = "mint-themes";
version = "2.1.4";
2020-03-22 07:11:01 +00:00
src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
hash = "sha256-Tr9MtEsd5+8YGsJvBF+i39dBL6/ufC3UVhgi8pP04Zs=";
2020-03-22 07:11:01 +00:00
};
nativeBuildInputs = [
python3
sassc
sass
];
preBuild = ''
patchShebangs .
'';
installPhase = ''
2022-08-10 06:01:00 +00:00
runHook preInstall
2020-03-22 07:11:01 +00:00
mkdir -p $out
mv usr/share $out
2022-08-10 06:01:00 +00:00
runHook postInstall
2020-03-22 07:11:01 +00:00
'';
meta = with lib; {
2020-03-22 07:11:01 +00:00
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;
2020-03-22 07:11:01 +00:00
};
}