From acdf90cea8638b040490afdc91719f7b164a7ad3 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Fri, 5 May 2023 22:33:03 +0800 Subject: cinnamon.mint-l-theme: init at 1.9.3 https://github.com/linuxmint/mint-l-theme/commits/1.9.3 --- pkgs/desktops/cinnamon/default.nix | 1 + pkgs/desktops/cinnamon/mint-l-theme/default.nix | 46 +++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 pkgs/desktops/cinnamon/mint-l-theme/default.nix (limited to 'pkgs/desktops') diff --git a/pkgs/desktops/cinnamon/default.nix b/pkgs/desktops/cinnamon/default.nix index 63be2279a4fa5..b857fbfd031a6 100644 --- a/pkgs/desktops/cinnamon/default.nix +++ b/pkgs/desktops/cinnamon/default.nix @@ -39,6 +39,7 @@ lib.makeScope pkgs.newScope (self: with self; { mint-artwork = callPackage ./mint-artwork { }; mint-cursor-themes = callPackage ./mint-cursor-themes { }; mint-l-icons = callPackage ./mint-l-icons { }; + mint-l-theme = callPackage ./mint-l-theme { }; mint-themes = callPackage ./mint-themes { }; mint-x-icons = callPackage ./mint-x-icons { }; mint-y-icons = callPackage ./mint-y-icons { }; diff --git a/pkgs/desktops/cinnamon/mint-l-theme/default.nix b/pkgs/desktops/cinnamon/mint-l-theme/default.nix new file mode 100644 index 0000000000000..ec9de00ac45a9 --- /dev/null +++ b/pkgs/desktops/cinnamon/mint-l-theme/default.nix @@ -0,0 +1,46 @@ +{ stdenvNoCC +, lib +, fetchFromGitHub +, python3 +, sassc +, sass +}: + +stdenvNoCC.mkDerivation rec { + pname = "mint-l-theme"; + version = "1.9.3"; + + src = fetchFromGitHub { + owner = "linuxmint"; + repo = pname; + rev = version; + hash = "sha256-x+elC1NWcd+x8dNewwKPZBdkxSzEbo7jsG8B9DcWdoA="; + }; + + nativeBuildInputs = [ + python3 + sassc + sass + ]; + + postPatch = '' + patchShebangs . + ''; + + installPhase = '' + runHook preInstall + + mkdir -p $out + mv usr/share $out + + runHook postInstall + ''; + + meta = with lib; { + homepage = "https://github.com/linuxmint/mint-l-theme"; + description = "Mint-L theme for the Cinnamon desktop"; + license = licenses.gpl3Plus; # from debian/copyright + platforms = platforms.linux; + maintainers = teams.cinnamon.members; + }; +} -- cgit 1.4.1