molsketch: init at 0.7.3
Co-authored-by: markuskowa <markus.kowalewski@gmail.com>
This commit is contained in:
parent
04f4be9a29
commit
ca34a788fe
40
pkgs/applications/editors/molsketch/default.nix
Normal file
40
pkgs/applications/editors/molsketch/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, mkDerivation
|
||||||
|
, fetchurl
|
||||||
|
, cmake
|
||||||
|
, pkg-config
|
||||||
|
, hicolor-icon-theme
|
||||||
|
, openbabel
|
||||||
|
, desktop-file-utils
|
||||||
|
, qttranslations
|
||||||
|
}:
|
||||||
|
|
||||||
|
mkDerivation rec {
|
||||||
|
pname = "molsketch";
|
||||||
|
version = "0.7.3";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/molsketch/Molsketch-${version}-src.tar.gz";
|
||||||
|
hash = "sha256-82iNJRiXqESwidjifKBf0+ljcqbFD1WehsXI8VUgrwQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
cmakeFlags="$cmakeFlags -DMSK_PREFIX=$out"
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
buildInputs = [
|
||||||
|
hicolor-icon-theme
|
||||||
|
openbabel
|
||||||
|
desktop-file-utils
|
||||||
|
qttranslations
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "2D molecule editor";
|
||||||
|
homepage = "https://sourceforge.net/projects/molsketch/";
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
maintainers = [ maintainers.fortuneteller2k ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -29285,6 +29285,8 @@ with pkgs;
|
||||||
|
|
||||||
moe = callPackage ../applications/editors/moe { };
|
moe = callPackage ../applications/editors/moe { };
|
||||||
|
|
||||||
|
molsketch = libsForQt5.callPackage ../applications/editors/molsketch { };
|
||||||
|
|
||||||
pattypan = callPackage ../applications/misc/pattypan {};
|
pattypan = callPackage ../applications/misc/pattypan {};
|
||||||
|
|
||||||
praat = callPackage ../applications/audio/praat { };
|
praat = callPackage ../applications/audio/praat { };
|
||||||
|
|
Loading…
Reference in a new issue