1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00
nixpkgs/pkgs/desktops/cinnamon/mint-themes/default.nix
2020-03-23 20:56:35 +01:00

42 lines
758 B
Nix

{ fetchFromGitHub
, stdenv
, python3
, sassc
, sass
}:
stdenv.mkDerivation rec {
pname = "mint-themes";
version = "1.8.0";
src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
sha256 = "0a8f2cmcl00y4607v5qr2zdcdjc0z74ixm2yakscvw6qzgsh9fac";
};
nativeBuildInputs = [
python3
sassc
sass
];
preBuild = ''
patchShebangs .
'';
installPhase = ''
mkdir -p $out
mv usr/share $out
'';
meta = with stdenv.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 = [ maintainers.mkg20001 ];
};
}