blob: b560ac16c698ccd5fab1c295ff7fc3198c638004 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{ lib, stdenv, fetchFromGitHub, cmake, qttools, wrapQtAppsHook }:
stdenv.mkDerivation rec {
pname = "molequeue";
version = "0.9.0";
src = fetchFromGitHub {
owner = "OpenChemistry";
repo = pname;
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/${pname}/MoleQueueConfig.cmake \
--replace "$out/" ""
'';
meta = with lib; {
description = "Desktop integration of high performance computing resources";
maintainers = with maintainers; [ sheepforce ];
homepage = "https://github.com/OpenChemistry/molequeue";
platforms = platforms.linux;
license = licenses.bsd3;
};
}
|