2021-02-06 13:35:42 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2020-01-20 18:15:48 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, gettext
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "cinnamon-translations";
|
2021-02-06 13:35:42 +00:00
|
|
|
version = "4.8.3";
|
2020-01-20 18:15:48 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxmint";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-02-08 11:50:38 +00:00
|
|
|
hash = "sha256-o/JFfwloXLUOy9YQzHtMCuzK7yBp/G43VS/RguxiTPY=";
|
2020-01-20 18:15:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gettext
|
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mv usr $out # files get installed like so: msgfmt -o usr/share/locale/$lang/LC_MESSAGES/$dir.mo $file
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-01-20 18:15:48 +00:00
|
|
|
homepage = "https://github.com/linuxmint/cinnamon-translations";
|
|
|
|
description = "Translations files for the Cinnamon desktop";
|
2020-01-22 10:08:15 +00:00
|
|
|
license = licenses.gpl2;
|
2020-01-20 18:15:48 +00:00
|
|
|
platforms = platforms.linux;
|
2020-09-05 22:40:47 +00:00
|
|
|
maintainers = teams.cinnamon.members;
|
2020-01-20 18:15:48 +00:00
|
|
|
};
|
|
|
|
}
|