2020-04-24 23:36:52 +00:00
|
|
|
{ fetchFromGitHub
|
2021-01-15 22:18:51 +00:00
|
|
|
, lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, python3
|
|
|
|
, sassc
|
|
|
|
, sass
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mint-themes";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "1.8.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxmint";
|
|
|
|
repo = pname;
|
2020-09-25 04:45:31 +00:00
|
|
|
# commit is named 1.8.6, tags=404
|
|
|
|
rev = "fa0b9530f6e68c390aecd622b229072fcd08f05f";
|
|
|
|
sha256 = "0pgv5hglsscip5s7nv0mn301vkn0j6wp4rv34vr941yai1jfk2wb";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
python3
|
|
|
|
sassc
|
|
|
|
sass
|
|
|
|
];
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
mv usr/share $out
|
|
|
|
'';
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|