nixpkgs/pkgs/desktops/cinnamon/mint-themes/default.nix

44 lines
846 B
Nix
Raw Normal View History

2020-03-22 08:11:01 +01:00
{ fetchFromGitHub
2021-11-29 17:34:50 +01:00
, lib
, stdenv
2020-03-22 08:11:01 +01:00
, python3
, sassc
, sass
}:
stdenv.mkDerivation rec {
pname = "mint-themes";
2021-11-24 10:15:36 +01:00
version = "1.8.8";
2020-03-22 08:11:01 +01:00
src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
2021-11-24 10:15:36 +01:00
# they don't exactly do tags, it's just a named commit
rev = "a833fba6917043bf410dee4364c9a36af1ce4c83";
hash = "sha256-8abjjD0XoApvqB8SNlWsqIEp7ozgiERGS0kWglw2DWA=";
2020-03-22 08:11:01 +01:00
};
nativeBuildInputs = [
python3
sassc
sass
];
preBuild = ''
patchShebangs .
'';
installPhase = ''
mkdir -p $out
mv usr/share $out
'';
meta = with lib; {
2020-03-22 08:11:01 +01:00
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;
2020-03-22 08:11:01 +01:00
};
}