02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
45 lines
893 B
Nix
45 lines
893 B
Nix
{ fetchFromGitHub
|
|
, lib
|
|
, stdenv
|
|
, python3
|
|
, sassc
|
|
, sass
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mint-themes";
|
|
version = "2.0.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxmint";
|
|
repo = pname;
|
|
# they don't exactly do tags, it's just a named commit
|
|
rev = "73d6cfea807ea84a645f43424c60916cb6214693";
|
|
hash = "sha256-WyEabE3K7xuBzXuLqJO0N4nxrc67bKT5YD9yn/bELl0=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|