nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5 blas,
6}:
7
8assert !blas.isILP64;
9
10stdenv.mkDerivation (finalAttrs: {
11 pname = "plumed";
12 version = "2.10.0";
13
14 src = fetchFromGitHub {
15 owner = "plumed";
16 repo = "plumed2";
17 rev = "v${finalAttrs.version}";
18 hash = "sha256-aFX8u+XNb7LARm1jtzWzIvZE5qHFaudtp45Om1Fridg=";
19 };
20
21 postPatch = ''
22 patchShebangs .
23 '';
24
25 buildInputs = [ blas ];
26
27 enableParallelBuilding = true;
28
29 meta = {
30 description = "Molecular metadynamics library";
31 homepage = "https://github.com/plumed/plumed2";
32 license = lib.licenses.lgpl3Only;
33 maintainers = [ lib.maintainers.sheepforce ];
34 };
35})