3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #83123 from mkg20001/pkg/mint-themes

cinnamon.mint-themes: init at 1.8.0
This commit is contained in:
worldofpeace 2020-03-23 15:59:41 -04:00 committed by GitHub
commit ae8815ebe8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

View file

@ -8,6 +8,7 @@ lib.makeScope pkgs.newScope (self: with self; {
cinnamon-settings-daemon = callPackage ./cinnamon-settings-daemon { };
cjs = callPackage ./cjs { };
nemo = callPackage ./nemo { };
mint-themes = callPackage ./mint-themes { };
muffin = callPackage ./muffin { };
xapps = callPackage ./xapps { };
})

View file

@ -0,0 +1,41 @@
{ 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 ];
};
}