depot/third_party/nixpkgs/pkgs/desktops/cinnamon/mint-themes/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

44 lines
807 B
Nix

{ fetchFromGitHub
, lib
, stdenvNoCC
, python3
, sassc
, sass
}:
stdenvNoCC.mkDerivation rec {
pname = "mint-themes";
version = "2.1.5";
src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
hash = "sha256-l/ePlvdrHUhRz/KBaBgUSA9KF/pufqeCgSAFRR03IKE=";
};
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;
};
}