Merge pull request #33924 from markuskowa/molden-pr

molden: init at 5.7

authored by Sarah Brofeldt and committed by GitHub adf80590 ed792d3a

+44
+42
pkgs/applications/science/chemistry/molden/default.nix
···
··· 1 + { stdenv, fetchurl, which, gfortran, mesa_glu, xorg } : 2 + 3 + stdenv.mkDerivation rec { 4 + version = "5.7"; 5 + name = "molden-${version}"; 6 + 7 + src = fetchurl { 8 + url = "ftp://ftp.cmbi.ru.nl/pub/molgraph/molden/molden${version}.tar.gz"; 9 + sha256 = "0gaq11gm09ax25lvgfrvxv9dxvi76hps116fp6k7sqgvdd68vf0s"; 10 + }; 11 + 12 + nativeBuildInputs = [ which ]; 13 + buildInputs = [ gfortran mesa_glu xorg.libX11 xorg.libXmu ]; 14 + 15 + postPatch = '' 16 + substituteInPlace ./makefile --replace '-L/usr/X11R6/lib' "" \ 17 + --replace '-I/usr/X11R6/include' "" \ 18 + --replace '/usr/local/' $out/ \ 19 + --replace 'sudo' "" \ 20 + --replace '-C surf depend' '-C surf' 21 + sed -in '/^# DO NOT DELETE THIS LINE/q;' surf/Makefile 22 + ''; 23 + 24 + preInstall = '' 25 + mkdir -p $out/bin 26 + ''; 27 + 28 + enableParallelBuilding = true; 29 + 30 + meta = with stdenv.lib; { 31 + description = "Display and manipulate molecular structures"; 32 + homepage = http://www.cmbi.ru.nl/molden/; 33 + license = { 34 + fullName = "Free for academic/non-profit use"; 35 + url = http://www.cmbi.ru.nl/molden/CopyRight.html; 36 + free = false; 37 + }; 38 + platforms = platforms.linux; 39 + maintainers = with maintainers; [ markuskowa ]; 40 + }; 41 + } 42 +
+2
pkgs/top-level/all-packages.nix
··· 3525 3526 modsecurity_standalone = callPackage ../tools/security/modsecurity { }; 3527 3528 molly-guard = callPackage ../os-specific/linux/molly-guard { }; 3529 3530 moneyplex = callPackage ../applications/office/moneyplex { };
··· 3525 3526 modsecurity_standalone = callPackage ../tools/security/modsecurity { }; 3527 3528 + molden = callPackage ../applications/science/chemistry/molden { }; 3529 + 3530 molly-guard = callPackage ../os-specific/linux/molly-guard { }; 3531 3532 moneyplex = callPackage ../applications/office/moneyplex { };