2020-04-24 23:36:52 +00:00
|
|
|
{ fetchFromGitHub
|
2021-12-06 16:07:01 +00:00
|
|
|
, lib
|
2022-12-02 08:20:57 +00:00
|
|
|
, stdenvNoCC
|
2020-04-24 23:36:52 +00:00
|
|
|
, python3
|
|
|
|
, sassc
|
|
|
|
, sass
|
|
|
|
}:
|
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "mint-themes";
|
2022-12-17 10:02:37 +00:00
|
|
|
version = "2.0.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxmint";
|
|
|
|
repo = pname;
|
2022-12-02 08:20:57 +00:00
|
|
|
rev = version;
|
2022-12-17 10:02:37 +00:00
|
|
|
hash = "sha256-4aBFK3cxcUfzaTIBAsZ+l4rvdF2AV+oPMB8oP8/KcvI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
python3
|
|
|
|
sassc
|
|
|
|
sass
|
|
|
|
];
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
2022-08-12 12:06:08 +00:00
|
|
|
runHook preInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
mkdir -p $out
|
|
|
|
mv usr/share $out
|
2022-08-12 12:06:08 +00:00
|
|
|
runHook postInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +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;
|
2020-09-25 04:45:31 +00:00
|
|
|
maintainers = teams.cinnamon.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|