depot/third_party/nixpkgs/pkgs/by-name/ma/maeparser/package.nix

30 lines
605 B
Nix

{ fetchFromGitHub
, lib
, stdenv
, boost
, zlib
, cmake
}:
stdenv.mkDerivation rec {
pname = "maeparser";
version = "1.3.1";
src = fetchFromGitHub {
owner = "schrodinger";
repo = "maeparser";
rev = "v${version}";
sha256 = "sha256-+eCTOU0rqFQC87wcxgINGLsULfbIr/wKxQTkRR59JVc=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ boost zlib ];
meta = with lib; {
homepage = "https://github.com/schrodinger/maeparser";
description = "Maestro file parser";
maintainers = [ maintainers.rmcgibbo ];
license = licenses.mit;
platforms = platforms.unix;
};
}