2021-02-05 17:12:51 +00:00
|
|
|
{ fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, stdenv
|
|
|
|
, boost
|
|
|
|
, zlib
|
|
|
|
, cmake
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "maeparser";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "1.3.0";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "schrodinger";
|
|
|
|
repo = "maeparser";
|
|
|
|
rev = "v${version}";
|
2022-10-21 18:38:19 +00:00
|
|
|
sha256 = "sha256-9KxCR/spIZzePjmZe8qihIi1hEhPvxg/9dAlYmHxZPs=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ boost zlib ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2022-10-21 18:38:19 +00:00
|
|
|
homepage = "https://github.com/schrodinger/maeparser";
|
|
|
|
description = "Maestro file parser";
|
2021-02-05 17:12:51 +00:00
|
|
|
maintainers = [ maintainers.rmcgibbo ];
|
|
|
|
license = licenses.mit;
|
2022-10-21 18:38:19 +00:00
|
|
|
platforms = platforms.unix;
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
}
|