48 lines
811 B
Nix
48 lines
811 B
Nix
|
|
{
|
||
|
|
stdenvNoCC,
|
||
|
|
lib,
|
||
|
|
fetchFromGitHub,
|
||
|
|
python3,
|
||
|
|
sassc,
|
||
|
|
sass,
|
||
|
|
}:
|
||
|
|
|
||
|
|
stdenvNoCC.mkDerivation rec {
|
||
|
|
pname = "mint-l-theme";
|
||
|
|
version = "2.0.2";
|
||
|
|
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
owner = "linuxmint";
|
||
|
|
repo = "mint-l-theme";
|
||
|
|
rev = version;
|
||
|
|
hash = "sha256-QPTU/wCOytleuiQAodGzZ1MGWD2Sk7eoeXWpi6nS5As=";
|
||
|
|
};
|
||
|
|
|
||
|
|
nativeBuildInputs = [
|
||
|
|
python3
|
||
|
|
sassc
|
||
|
|
sass
|
||
|
|
];
|
||
|
|
|
||
|
|
postPatch = ''
|
||
|
|
patchShebangs .
|
||
|
|
'';
|
||
|
|
|
||
|
|
installPhase = ''
|
||
|
|
runHook preInstall
|
||
|
|
|
||
|
|
mkdir -p $out
|
||
|
|
mv usr/share $out
|
||
|
|
|
||
|
|
runHook postInstall
|
||
|
|
'';
|
||
|
|
|
||
|
|
meta = with lib; {
|
||
|
|
homepage = "https://github.com/linuxmint/mint-l-theme";
|
||
|
|
description = "Mint-L theme for the Cinnamon desktop";
|
||
|
|
license = licenses.gpl3Plus; # from debian/copyright
|
||
|
|
platforms = platforms.linux;
|
||
|
|
teams = [ teams.cinnamon ];
|
||
|
|
};
|
||
|
|
}
|