1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

ocamlPackages.markup: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-10-30 19:14:02 +02:00
parent fa8d1b35aa
commit 8889d3c968

View file

@ -1,4 +1,4 @@
{ lib, buildDunePackage, fetchzip, ocaml, uchar, uutf, ounit2 }:
{ lib, buildDunePackage, fetchFromGitHub, ocaml, uchar, uutf, ounit2 }:
buildDunePackage rec {
pname = "markup";
@ -6,9 +6,11 @@ buildDunePackage rec {
useDune2 = true;
src = fetchzip {
url = "https://github.com/aantron/markup.ml/archive/${version}.tar.gz";
sha256 = "09hkrf9pw6hpb9j06p5bddklpnjwdjpqza3bx2179l970yl67an9";
src = fetchFromGitHub {
owner = "aantron";
repo = "markup.ml";
rev = version;
sha256 = "sha256-yapjqAcn0XSC6Guoj69sXNpLZ2urXANkWhcafpPLEyY=";
};
propagatedBuildInputs = [ uchar uutf ];