Merge pull request #275193 from sheepforce/avogadro2

avogadro2: 1.97.0 -> 1.98.1
This commit is contained in:
markuskowa 2023-12-18 17:16:27 +01:00 committed by GitHub
commit 9478d01e1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 14 deletions

View file

@ -6,19 +6,19 @@ let
avogadroI18N = fetchFromGitHub {
owner = "OpenChemistry";
repo = "avogadro-i18n";
rev = "3b8a86cc37e988b043d1503d2f11068389b0aca3";
sha256 = "9wLY7/EJyIZYnlUAMsViCwD5kGc1vCNbk8vUhb90LMQ=";
rev = "7eef0b83ded6221a3ddb85c0118cc26f9a35375c";
hash = "sha256-AR/y70zeYR9xBzWDB5JXjJdDM+NLOX6yxCQte2lYN/U=";
};
in stdenv.mkDerivation rec {
pname = "avogadro2";
version = "1.97.0";
version = "1.98.1";
src = fetchFromGitHub {
owner = "OpenChemistry";
repo = "avogadroapp";
rev = version;
hash = "sha256-gZpMgFSPz70QNfd8gH5Jb9RTxQfQalWx33LkgXLEqOQ=";
hash = "sha256-N35WGYZbgfjKnorzGKCnbBvlrlt9Vr04YIG2R3k+b8A=";
};
postUnpack = ''

View file

@ -21,13 +21,13 @@ let
in stdenv.mkDerivation rec {
pname = "avogadrolibs";
version = "1.97.0";
version = "1.98.1";
src = fetchFromGitHub {
owner = "OpenChemistry";
repo = pname;
rev = version;
hash = "sha256-ZGFyUlFyI403aw/6GVze/gronT67XlEOKuw5sfHeVy8=";
hash = "sha256-BuBMWW7N5Cu9tw5Vpwk+aoIaMWwHViRzLtIG7XDWjN4=";
};
postUnpack = ''
@ -53,9 +53,13 @@ in stdenv.mkDerivation rec {
qttools
];
postFixup = ''
# Fix the broken CMake files to use the correct paths
postInstall = ''
substituteInPlace $out/lib/cmake/${pname}/AvogadroLibsConfig.cmake \
--replace "''${AvogadroLibs_INSTALL_PREFIX}/$out" "''${AvogadroLibs_INSTALL_PREFIX}"
--replace "$out/" ""
substituteInPlace $out/lib/cmake/${pname}/AvogadroLibsTargets.cmake \
--replace "_IMPORT_PREFIX}/$out" "_IMPORT_PREFIX}/"
'';
meta = with lib; {

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "mmtf-cpp";
version = "1.0.0";
version = "1.1.0";
src = fetchFromGitHub {
owner = "rcsb";
repo = pname;
rev = "v${version}";
sha256= "17ylramda69plf5w0v5hxbl4ggkdi5s15z55cv0pljl12yvyva8l";
hash = "sha256-8JrNobvekMggS8L/VORKA32DNUdXiDrYMObjd29wQmc=";
};
nativeBuildInputs = [ cmake ];

View file

@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
owner = "OpenChemistry";
repo = pname;
rev = version;
sha256 = "+NoY8YVseFyBbxc3ttFWiQuHQyy1GN8zvV1jGFjmvLg=";
hash = "sha256-+NoY8YVseFyBbxc3ttFWiQuHQyy1GN8zvV1jGFjmvLg=";
};
nativeBuildInputs = [
@ -18,9 +18,10 @@ stdenv.mkDerivation rec {
buildInputs = [ qttools ];
postFixup = ''
substituteInPlace $out/lib/cmake/molequeue/MoleQueueConfig.cmake \
--replace "''${MoleQueue_INSTALL_PREFIX}/$out" "''${MoleQueue_INSTALL_PREFIX}"
# Fix the broken CMake files to use the correct paths
postInstall = ''
substituteInPlace $out/lib/cmake/${pname}/MoleQueueConfig.cmake \
--replace "$out/" ""
'';
meta = with lib; {