summary refs log tree commit diff
path: root/pkgs/desktops/cinnamon/mint-themes
diff options
context:
space:
mode:
authorMaciej Krüger <mkg20001@gmail.com>2020-03-22 08:11:01 +0100
committerMaciej Krüger <mkg20001@gmail.com>2020-03-23 20:56:35 +0100
commit6873c0415383ffb7df8b70ee5fe8c84c319d290d (patch)
tree900b08c3cde670840a8ae7fa7e72b4252643c9b4 /pkgs/desktops/cinnamon/mint-themes
parentb94300945a0a43360c88dafea591e46bc30d5c08 (diff)
downloadnixpkgs-6873c0415383ffb7df8b70ee5fe8c84c319d290d.tar
nixpkgs-6873c0415383ffb7df8b70ee5fe8c84c319d290d.tar.gz
nixpkgs-6873c0415383ffb7df8b70ee5fe8c84c319d290d.tar.bz2
nixpkgs-6873c0415383ffb7df8b70ee5fe8c84c319d290d.tar.lz
nixpkgs-6873c0415383ffb7df8b70ee5fe8c84c319d290d.tar.xz
nixpkgs-6873c0415383ffb7df8b70ee5fe8c84c319d290d.tar.zst
nixpkgs-6873c0415383ffb7df8b70ee5fe8c84c319d290d.zip
cinnamon.mint-themes: init at 1.8.0
Diffstat (limited to 'pkgs/desktops/cinnamon/mint-themes')
-rw-r--r--pkgs/desktops/cinnamon/mint-themes/default.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/desktops/cinnamon/mint-themes/default.nix b/pkgs/desktops/cinnamon/mint-themes/default.nix
new file mode 100644
index 00000000000..770baf77bcd
--- /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 ];
+  };
+}