test-drive: init at 0.4.0
This commit is contained in:
parent
dd7ae99a9e
commit
acbcc37f27
32
pkgs/development/libraries/test-drive/default.nix
Normal file
32
pkgs/development/libraries/test-drive/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user