mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
30 lines
712 B
Nix
30 lines
712 B
Nix
{ stdenv, fetchFromGitHub, ocaml, findlib, xtmpl, ulex }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "higlo-${version}";
|
|
version = "0.6";
|
|
src = fetchFromGitHub {
|
|
owner = "zoggy";
|
|
repo = "higlo";
|
|
rev = "release-${version}";
|
|
sha256 = "0m0qyk2ydivai54502s45sdw9w4xr0j3jpwyc4vqk62a7iz9ihxh";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib ];
|
|
propagatedBuildInputs = [ xtmpl ulex ];
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
patches = ./install.patch;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "OCaml library for syntax highlighting";
|
|
homepage = https://zoggy.github.io/higlo/;
|
|
license = licenses.lgpl3;
|
|
platforms = ocaml.meta.platforms or [];
|
|
maintainers = with maintainers; [ regnat ];
|
|
};
|
|
}
|
|
|
|
|