1{
2 fetchFromGitHub,
3 lib,
4 stdenv,
5 boost,
6 zlib,
7 cmake,
8}:
9
10stdenv.mkDerivation rec {
11 pname = "maeparser";
12 version = "1.3.3";
13
14 src = fetchFromGitHub {
15 owner = "schrodinger";
16 repo = "maeparser";
17 rev = "v${version}";
18 sha256 = "sha256-xRyf/n8ezmMPMhlQFapVpnT2LReLe7spXB9jFC+VPRA=";
19 };
20
21 nativeBuildInputs = [ cmake ];
22 buildInputs = [
23 boost
24 zlib
25 ];
26
27 meta = with lib; {
28 homepage = "https://github.com/schrodinger/maeparser";
29 description = "Maestro file parser";
30 maintainers = [ maintainers.rmcgibbo ];
31 license = licenses.mit;
32 platforms = platforms.unix;
33 };
34}