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

24 lines
550 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "onig";
version = "6.9.5_rev1";
2014-09-22 01:40:19 +01:00
src = fetchFromGitHub {
owner = "kkos";
repo = "oniguruma";
rev = "v${version}";
sha256 = "1sx683hbb58gbjvla69n5vxdzwqhjqisqbfkf9xi95wr7p9ycjhl";
};
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; [ ];
platforms = platforms.unix;
};
}