nixpkgs/pkgs/by-name/ms/mstore/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
785 B
Nix
Raw Normal View History

2023-03-15 09:48:32 +00:00
{ stdenv
, lib
, fetchFromGitHub
, gfortran
2024-03-26 19:57:06 +00:00
, meson
, ninja
, pkg-config
, python3
2023-03-15 09:48:32 +00:00
, mctc-lib
}:
stdenv.mkDerivation rec {
pname = "mstore";
2024-06-14 01:29:21 +00:00
version = "0.3.0";
2023-03-15 09:48:32 +00:00
src = fetchFromGitHub {
owner = "grimme-lab";
repo = pname;
rev = "v${version}";
2024-06-14 01:29:21 +00:00
hash = "sha256-zfrxdrZ1Um52qTRNGJoqZNQuHhK3xM/mKfk0aBLrcjw=";
2023-03-15 09:48:32 +00:00
};
2024-03-26 19:57:06 +00:00
nativeBuildInputs = [ gfortran meson ninja pkg-config python3 ];
2023-03-15 09:48:32 +00:00
buildInputs = [ mctc-lib ];
outputs = [ "out" "dev" ];
postPatch = ''
2024-03-26 19:57:06 +00:00
patchShebangs --build config/install-mod.py
2023-03-15 09:48:32 +00:00
'';
meta = with lib; {
description = "Molecular structure store for testing";
license = licenses.asl20;
homepage = "https://github.com/grimme-lab/mstore";
platforms = platforms.linux;
maintainers = [ maintainers.sheepforce ];
};
}