at master 42 lines 905 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 qttools, 7 wrapQtAppsHook, 8}: 9 10stdenv.mkDerivation rec { 11 pname = "molequeue"; 12 version = "0.9.0"; 13 14 src = fetchFromGitHub { 15 owner = "OpenChemistry"; 16 repo = "molequeue"; 17 rev = version; 18 hash = "sha256-+NoY8YVseFyBbxc3ttFWiQuHQyy1GN8zvV1jGFjmvLg="; 19 }; 20 21 nativeBuildInputs = [ 22 cmake 23 wrapQtAppsHook 24 ]; 25 26 buildInputs = [ qttools ]; 27 28 # Fix the broken CMake files to use the correct paths 29 postInstall = '' 30 substituteInPlace $out/lib/cmake/molequeue/MoleQueueConfig.cmake \ 31 --replace "$out/" "" 32 ''; 33 34 meta = with lib; { 35 description = "Desktop integration of high performance computing resources"; 36 mainProgram = "molequeue"; 37 maintainers = with maintainers; [ sheepforce ]; 38 homepage = "https://github.com/OpenChemistry/molequeue"; 39 platforms = platforms.linux; 40 license = licenses.bsd3; 41 }; 42}