avogadro2: initialise a translation repo

This commit is contained in:
Phillip Seeber 2021-10-08 14:43:13 +02:00
parent 1ce8603471
commit aa02e7f828

View file

@ -2,7 +2,15 @@
, openbabel, qttools, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
let
avogadroI18N = fetchFromGitHub {
owner = "OpenChemistry";
repo = "avogadro-i18n";
rev = "3b8a86cc37e988b043d1503d2f11068389b0aca3";
sha256 = "9wLY7/EJyIZYnlUAMsViCwD5kGc1vCNbk8vUhb90LMQ=";
};
in stdenv.mkDerivation rec {
pname = "avogadro2";
version = "1.95.1";
@ -13,6 +21,10 @@ stdenv.mkDerivation rec {
sha256 = "9GnsxQsMuik6CPDmJbJPF0/+LXbZHf/JLevpSsMEoP0=";
};
postUnpack = ''
cp -r ${avogadroI18N} avogadro-i18n
'';
nativeBuildInputs = [ cmake wrapQtAppsHook ];
buildInputs = [