File tree Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change 11{
22 fetchurl ,
3+ hdf5 ,
34 lib ,
5+ matio ,
6+ nix-update-script ,
7+ pkgconf ,
48 stdenv ,
9+ testers ,
10+ validatePkgConfig ,
11+ zlib ,
512} :
613
714stdenv . mkDerivation ( finalAttrs : {
@@ -13,13 +20,39 @@ stdenv.mkDerivation (finalAttrs: {
1320 hash = "sha256-naaYk0ohVprwWOY0hWRmb0UCnmwrCHjKDY+WCb93uNg=" ;
1421 } ;
1522
23+ configureFlags = [ "ac_cv_va_copy=1" ] ;
24+
25+ nativeBuildInputs = [
26+ pkgconf
27+ validatePkgConfig
28+ ] ;
29+
30+ buildInputs = [
31+ hdf5
32+ zlib
33+ ] ;
34+
35+ passthru = {
36+ tests = {
37+ pkg-config = testers . hasPkgConfigModules {
38+ package = matio ;
39+ versionCheck = true ;
40+ } ;
41+ version = testers . testVersion {
42+ package = matio ;
43+ } ;
44+ } ;
45+ updateScript = nix-update-script { } ;
46+ } ;
47+
1648 meta = {
1749 changelog = "https://sourceforge.net/p/matio/news/" ;
1850 description = "C library for reading and writing Matlab MAT files" ;
1951 homepage = "http://matio.sourceforge.net/" ;
2052 license = lib . licenses . bsd2 ;
21- maintainers = [ ] ;
53+ maintainers = with lib . maintainers ; [ jwillikers ] ;
2254 mainProgram = "matdump" ;
2355 platforms = lib . platforms . all ;
56+ pkgConfigModules = [ "matio" ] ;
2457 } ;
2558} )
You can’t perform that action at this time.
0 commit comments