Merge pull request #78119 from mkg20001/pkg/cinnamon-translations
cinnamon.cinnamon-translations: init at 4.4.0
This commit is contained in:
commit
628164c58d
2 changed files with 32 additions and 0 deletions
31
pkgs/desktops/cinnamon/cinnamon-translations/default.nix
Normal file
31
pkgs/desktops/cinnamon/cinnamon-translations/default.nix
Normal file
|
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -3,6 +3,7 @@
|
||||||
lib.makeScope pkgs.newScope (self: with self; {
|
lib.makeScope pkgs.newScope (self: with self; {
|
||||||
cinnamon-desktop = callPackage ./cinnamon-desktop { };
|
cinnamon-desktop = callPackage ./cinnamon-desktop { };
|
||||||
cinnamon-menus = callPackage ./cinnamon-menus { };
|
cinnamon-menus = callPackage ./cinnamon-menus { };
|
||||||
|
cinnamon-translations = callPackage ./cinnamon-translations { };
|
||||||
cjs = callPackage ./cjs { };
|
cjs = callPackage ./cjs { };
|
||||||
xapps = callPackage ./xapps { };
|
xapps = callPackage ./xapps { };
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue