Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

marvin: init at 19.1.0 Also adding myself (fusion809) as a maintainer. The marvin Nix file in this commit is largely thanks to @msteen.

+85
+5
maintainers/maintainer-list.nix
··· 1586 email = "eocallaghan@alterapraxis.com"; 1587 name = "Edward O'Callaghan"; 1588 }; 1589 fuuzetsu = { 1590 email = "fuuzetsu@fuuzetsu.co.uk"; 1591 github = "fuuzetsu";
··· 1586 email = "eocallaghan@alterapraxis.com"; 1587 name = "Edward O'Callaghan"; 1588 }; 1589 + fusion809 = { 1590 + email = "brentonhorne77@gmail.com"; 1591 + github = "fusion809"; 1592 + name = "Brenton Horne"; 1593 + }; 1594 fuuzetsu = { 1595 email = "fuuzetsu@fuuzetsu.co.uk"; 1596 github = "fuuzetsu";
+9
pkgs/applications/science/chemistry/marvin/LicenseManager.desktop
···
··· 1 + #!/usr/bin/env xdg-open 2 + [Desktop Entry] 3 + Type=Application 4 + Name=ChemAxon License Manager 5 + Exec=@out@/bin/LicenseManager 6 + Icon=LicenseManager 7 + Categories=Education;Science;Chemistry; 8 + StartupWMClass=com-install4j-runtime-launcher-UnixLauncher 9 + Comment=License manager for ChemAxon software like MarvinSketch
+10
pkgs/applications/science/chemistry/marvin/MarvinSketch.desktop
···
··· 1 + #!/usr/bin/env xdg-open 2 + [Desktop Entry] 3 + Type=Application 4 + Name=MarvinSketch 5 + Exec=@out@/bin/msketch %f 6 + Icon=MarvinSketch 7 + MimeType=text/xml;text/plain;chemical/x-cml;chemical/x-mdl-molfile;chemical/x-mdl-sdfile;chemical/x-mol2;chemical/x-pdb;chemical/x-xyz;chemical/x-mdl-rdfile;chemical/x-mdl-rxnfile;chemical/x-inchi; 8 + Categories=Education;Science;Chemistry; 9 + StartupWMClass=com-install4j-runtime-launcher-UnixLauncher 10 + Comment=Molecular modelling, analysis and structure drawing program
+10
pkgs/applications/science/chemistry/marvin/MarvinView.desktop
···
··· 1 + #!/usr/bin/env xdg-open 2 + [Desktop Entry] 3 + Type=Application 4 + Name=MarvinView 5 + Exec=@out@/bin/mview %f 6 + Icon=MarvinView 7 + Comment=Molecule viewing program 8 + MimeType=text/xml;text/plain;chemical/x-cml;chemical/x-mdl-molfile;chemical/x-mdl-sdfile;chemical/x-mol2;chemical/x-pdb;chemical/x-xyz;chemical/x-mdl-rdfile;chemical/x-mdl-rxnfile;chemical/x-inchi; 9 + Categories=Education;Science;Chemistry; 10 + StartupWMClass=com-install4j-runtime-launcher-UnixLauncher
+49
pkgs/applications/science/chemistry/marvin/default.nix
···
··· 1 + { stdenv, fetchurl, dpkg, makeWrapper, coreutils, gawk, gnugrep, gnused, jre }: 2 + 3 + with stdenv.lib; 4 + 5 + stdenv.mkDerivation rec { 6 + name = "${pname}-${version}"; 7 + pname = "marvin"; 8 + version = "19.1.0"; 9 + 10 + src = fetchurl { 11 + name = "marvin-${version}.deb"; 12 + url = "http://dl.chemaxon.com/marvin/${version}/marvin_linux_${versions.majorMinor version}.deb"; 13 + sha256 = "1ccsimfvms5q4prjyk6sg5hsc3hkcjjfq3gl7jjm8dgd2173zzyc"; 14 + }; 15 + 16 + nativeBuildInputs = [ dpkg makeWrapper ]; 17 + 18 + unpackPhase = '' 19 + dpkg-deb -x $src opt 20 + ''; 21 + 22 + installPhase = '' 23 + wrapBin() { 24 + makeWrapper $1 $out/bin/$(basename $1) \ 25 + --set INSTALL4J_JAVA_HOME "${jre}" \ 26 + --prefix PATH : ${makeBinPath [ coreutils gawk gnugrep gnused ]} 27 + } 28 + cp -r opt $out 29 + mkdir -p $out/bin $out/share/pixmaps $out/share/applications 30 + for name in LicenseManager MarvinSketch MarvinView; do 31 + wrapBin $out/opt/chemaxon/marvinsuite/$name 32 + ln -s {$out/opt/chemaxon/marvinsuite/.install4j,$out/share/pixmaps}/$name.png 33 + done 34 + for name in cxcalc cxtrain evaluate molconvert mview msketch; do 35 + wrapBin $out/opt/chemaxon/marvinsuite/bin/$name 36 + done 37 + ${concatStrings (map (name: '' 38 + substitute ${./. + "/${name}.desktop"} $out/share/applications/${name}.desktop --subst-var out 39 + '') [ "LicenseManager" "MarvinSketch" "MarvinView" ])} 40 + ''; 41 + 42 + meta = { 43 + description = "A chemical modelling, analysis and structure drawing program"; 44 + homepage = https://chemaxon.com/products/marvin; 45 + maintainers = with maintainers; [ fusion809 ]; 46 + license = licenses.unfree; 47 + platforms = platforms.linux; 48 + }; 49 + }
+2
pkgs/top-level/all-packages.nix
··· 21395 21396 jmol = callPackage ../applications/science/chemistry/jmol { }; 21397 21398 molden = callPackage ../applications/science/chemistry/molden { }; 21399 21400 octopus = callPackage ../applications/science/chemistry/octopus { openblas=openblasCompat; };
··· 21395 21396 jmol = callPackage ../applications/science/chemistry/jmol { }; 21397 21398 + marvin = callPackage ../applications/science/chemistry/marvin { }; 21399 + 21400 molden = callPackage ../applications/science/chemistry/molden { }; 21401 21402 octopus = callPackage ../applications/science/chemistry/octopus { openblas=openblasCompat; };