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