b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
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.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxmint";
|
|
repo = pname;
|
|
# they don't exactly do tags, it's just a named commit
|
|
rev = "3a202e401abca98623cd1dbc412221682081244c";
|
|
hash = "sha256-OgyLNc6gwMn7dG5/T67Toiqsij1rJYV6k6Un2cgr2oQ=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|