ocamlPackages.dolog: switch to fetchFromGitHub
This commit is contained in:
parent
65055e3c84
commit
b5bb0514ea
1 changed files with 10 additions and 9 deletions
|
@ -1,13 +1,14 @@
|
||||||
{ stdenv, lib, fetchzip, ocaml, findlib, ocamlbuild }:
|
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
|
||||||
|
|
||||||
let version = "3.0"; in
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "ocaml-dolog";
|
pname = "ocaml-dolog";
|
||||||
inherit version;
|
version = "3.0";
|
||||||
src = fetchzip {
|
|
||||||
url = "https://github.com/UnixJunkie/dolog/archive/v${version}.tar.gz";
|
src = fetchFromGitHub {
|
||||||
sha256 = "0gx2s4509vkkkaikl2yp7k5x7bqv45s1y1vsy408d8rakd7yl1zb";
|
owner = "UnixJunkie";
|
||||||
|
repo = "dolog";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-6wfqT5sqo4YA8XoHH3QhG6/TyzzXCzqjmnPuBArRoj8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib ocamlbuild ];
|
buildInputs = [ ocaml findlib ocamlbuild ];
|
||||||
|
@ -20,7 +21,7 @@ stdenv.mkDerivation {
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/UnixJunkie/dolog";
|
homepage = "https://github.com/UnixJunkie/dolog";
|
||||||
description = "Minimalistic lazy logger in OCaml";
|
description = "Minimalistic lazy logger in OCaml";
|
||||||
platforms = ocaml.meta.platforms or [];
|
platforms = ocaml.meta.platforms or [ ];
|
||||||
license = lib.licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
maintainers = with lib.maintainers; [ vbgl ];
|
maintainers = with lib.maintainers; [ vbgl ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue