nixpkgs/pkgs/desktops/cinnamon/mint-themes/default.nix
2021-11-29 17:34:50 +01:00

43 lines
846 B
Nix

{ fetchFromGitHub
, lib
, stdenv
, python3
, sassc
, sass
}:
stdenv.mkDerivation rec {
pname = "mint-themes";
version = "1.8.8";
src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
# they don't exactly do tags, it's just a named commit
rev = "a833fba6917043bf410dee4364c9a36af1ce4c83";
hash = "sha256-8abjjD0XoApvqB8SNlWsqIEp7ozgiERGS0kWglw2DWA=";
};
nativeBuildInputs = [
python3
sassc
sass
];
preBuild = ''
patchShebangs .
'';
installPhase = ''
mkdir -p $out
mv usr/share $out
'';
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;
};
}