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

24 lines
584 B
Nix
Raw Normal View History

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