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

24 lines
562 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "onig-${version}";
version = "6.9.2";
2014-09-22 01:40:19 +01:00
src = fetchFromGitHub {
owner = "kkos";
repo = "oniguruma";
rev = "v${version}";
sha256 = "15asc9v6ylal8fwzlnrh673mp62wngxvv9jx7h86vhljjdap6yfc";
};
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;
};
}