test-drive: init at 0.4.0

This commit is contained in:
Phillip Seeber 2023-03-15 10:51:46 +01:00
parent dd7ae99a9e
commit acbcc37f27
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ stdenv, lib, fetchFromGitHub, gfortran, cmake }:
stdenv.mkDerivation rec {
pname = "test-drive";
version = "0.4.0";
src = fetchFromGitHub {
owner = "fortran-lang";
repo = pname;
rev = "v${version}";
hash = "sha256-ObAnHFP1Hp0knf/jtGHynVF0CCqK47eqetePx4NLmlM=";
};
postPatch = ''
substituteInPlace config/template.pc \
--replace 'libdir=''${prefix}/@CMAKE_INSTALL_LIBDIR@' "libdir=@CMAKE_INSTALL_LIBDIR@" \
--replace 'includedir=''${prefix}/@CMAKE_INSTALL_INCLUDEDIR@' "includedir=@CMAKE_INSTALL_INCLUDEDIR@"
'';
nativeBuildInputs = [
gfortran
cmake
];
meta = with lib; {
description = "Procedural Fortran testing framework";
homepage = "https://github.com/fortran-lang/test-drive";
license = with licenses; [ asl20 mit ] ;
platforms = platforms.linux;
maintainers = [ maintainers.sheepforce ];
};
}

View file

@ -22425,6 +22425,8 @@ with pkgs;
multicharge = callPackage ../development/libraries/science/chemistry/multicharge { };
test-drive = callPackage ../development/libraries/test-drive { };
## libGL/libGLU/Mesa stuff
# Default libGL implementation, should provide headers and