Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
905 B
Nix
43 lines
905 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
qttools,
|
|
wrapQtAppsHook,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "molequeue";
|
|
version = "0.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OpenChemistry";
|
|
repo = "molequeue";
|
|
rev = version;
|
|
hash = "sha256-+NoY8YVseFyBbxc3ttFWiQuHQyy1GN8zvV1jGFjmvLg=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [ qttools ];
|
|
|
|
# Fix the broken CMake files to use the correct paths
|
|
postInstall = ''
|
|
substituteInPlace $out/lib/cmake/molequeue/MoleQueueConfig.cmake \
|
|
--replace "$out/" ""
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Desktop integration of high performance computing resources";
|
|
mainProgram = "molequeue";
|
|
maintainers = with maintainers; [ sheepforce ];
|
|
homepage = "https://github.com/OpenChemistry/molequeue";
|
|
platforms = platforms.linux;
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|