Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3fd8afd2e063
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 628164c58de1
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Jan 21, 2020

  1. Copy the full SHA
    1170b0e View commit details
  2. Merge pull request #78119 from mkg20001/pkg/cinnamon-translations

    cinnamon.cinnamon-translations: init at 4.4.0
    worldofpeace authored Jan 21, 2020
    Copy the full SHA
    628164c View commit details
Showing with 32 additions and 0 deletions.
  1. +31 −0 pkgs/desktops/cinnamon/cinnamon-translations/default.nix
  2. +1 −0 pkgs/desktops/cinnamon/default.nix
31 changes: 31 additions & 0 deletions pkgs/desktops/cinnamon/cinnamon-translations/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{ stdenv
, fetchFromGitHub
, gettext
}:

stdenv.mkDerivation rec {
pname = "cinnamon-translations";
version = "4.4.0";

src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
sha256 = "0hh6shfj7vc1mw814l38cakfmh135ba8j604h1rmx4zwspwgvgzh";
};

nativeBuildInputs = [
gettext
];

installPhase = ''
mv usr $out # files get installed like so: msgfmt -o usr/share/locale/$lang/LC_MESSAGES/$dir.mo $file
'';

meta = with stdenv.lib; {
homepage = "https://github.com/linuxmint/cinnamon-translations";
description = "Translations files for the Cinnamon desktop";
platforms = platforms.linux;
maintainers = [ maintainers.mkg20001 ];
};
}
1 change: 1 addition & 0 deletions pkgs/desktops/cinnamon/default.nix
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
lib.makeScope pkgs.newScope (self: with self; {
cinnamon-desktop = callPackage ./cinnamon-desktop { };
cinnamon-menus = callPackage ./cinnamon-menus { };
cinnamon-translations = callPackage ./cinnamon-translations { };
cjs = callPackage ./cjs { };
xapps = callPackage ./xapps { };
})