nixpkgs/pkgs/development/libraries/matio/default.nix
Malo Bourgon 9e4be53221 treewide: add meta.mainProgram to some libraries
where a single bin is provided and someone might actually want to run it
2022-05-04 18:11:50 -07:00

19 lines
533 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "matio";
version = "1.5.22";
src = fetchurl {
url = "mirror://sourceforge/matio/${pname}-${version}.tar.gz";
sha256 = "sha256-gMPR4iLhFXaLV7feZAo30O58t6O9A52z6pQecfxSBMM=";
};
meta = with lib; {
description = "A C library for reading and writing Matlab MAT files";
homepage = "http://matio.sourceforge.net/";
license = licenses.bsd2;
maintainers = [ maintainers.vbgl ];
mainProgram = "matdump";
platforms = platforms.all;
};
}