a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
44 lines
807 B
Nix
44 lines
807 B
Nix
{ fetchFromGitHub
|
|
, lib
|
|
, stdenvNoCC
|
|
, python3
|
|
, sassc
|
|
, sass
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "mint-themes";
|
|
version = "2.0.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxmint";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-4aBFK3cxcUfzaTIBAsZ+l4rvdF2AV+oPMB8oP8/KcvI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
python3
|
|
sassc
|
|
sass
|
|
];
|
|
|
|
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;
|
|
};
|
|
}
|