diff options
author | Maciej Krüger <mkg20001@gmail.com> | 2020-03-22 08:11:01 +0100 |
---|---|---|
committer | Maciej Krüger <mkg20001@gmail.com> | 2020-03-23 20:56:35 +0100 |
commit | 6873c0415383ffb7df8b70ee5fe8c84c319d290d (patch) | |
tree | 900b08c3cde670840a8ae7fa7e72b4252643c9b4 /pkgs/desktops/cinnamon | |
parent | b94300945a0a43360c88dafea591e46bc30d5c08 (diff) |
cinnamon.mint-themes: init at 1.8.0
Diffstat (limited to 'pkgs/desktops/cinnamon')
-rw-r--r-- | pkgs/desktops/cinnamon/default.nix | 1 | ||||
-rw-r--r-- | pkgs/desktops/cinnamon/mint-themes/default.nix | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/desktops/cinnamon/default.nix b/pkgs/desktops/cinnamon/default.nix index 802c0bdaa88b..6cdda9914369 100644 --- a/pkgs/desktops/cinnamon/default.nix +++ b/pkgs/desktops/cinnamon/default.nix @@ -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 { }; }) diff --git a/pkgs/desktops/cinnamon/mint-themes/default.nix b/pkgs/desktops/cinnamon/mint-themes/default.nix new file mode 100644 index 000000000000..770baf77bcda --- /dev/null +++ b/pkgs/desktops/cinnamon/mint-themes/default.nix @@ -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 ]; + }; +} |