This reverts commit65a333600d. This wasn't tested for correctness with something like fodwatch [0], and should not have been (self-)merged so quickly, especially without further review. It also resulted in the breakage of at least one package [1] (and that's the one we know of and was caught). A few packages that were updated in between this commit and this revert were not reverted back to using `rev`, but other than that, this is a 1:1 revert. [0]: https://codeberg.org/raphaelr/fodwatch [1]: https://github.com/NixOS/nixpkgs/pull/396904 /758551e458
27 lines
562 B
Nix
27 lines
562 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildDunePackage,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "syslog";
|
|
version = "2.0.2";
|
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "geneanet";
|
|
repo = "ocaml-syslog";
|
|
rev = "v${version}";
|
|
hash = "sha256-WybNZBPhv4fhjzzb95E+6ZHcZUnfROLlNF3PMBGO9ys=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/geneanet/ocaml-syslog";
|
|
description = "Simple wrapper to access the system logger from OCaml";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = [ maintainers.rixed ];
|
|
};
|
|
}
|