nixpkgs/pkgs/development/libraries/oniguruma/default.nix

24 lines
552 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "onig";
version = "6.9.3";
2014-09-22 01:40:19 +01:00
src = fetchFromGitHub {
owner = "kkos";
repo = "oniguruma";
rev = "v${version}";
sha256 = "0wzmqpjmxpryk83acbyhl9gwgm43ixbwraga2g5li9kx88mv4k0n";
};
2014-09-22 01:40:19 +01:00
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
homepage = https://github.com/kkos/oniguruma;
description = "Regular expressions library";
license = licenses.bsd2;
maintainers = with maintainers; [ fuuzetsu ];
platforms = platforms.unix;
};
}