ocamlPackages.ocplib-endian: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-10-30 19:13:49 +02:00
parent 88e5a0b344
commit fa8d1b35aa

View file

@ -1,11 +1,13 @@
{ lib, buildDunePackage, fetchzip, cppo }:
{ lib, buildDunePackage, fetchFromGitHub, cppo }:
buildDunePackage rec {
version = "1.1";
pname = "ocplib-endian";
src = fetchzip {
url = "https://github.com/OCamlPro/ocplib-endian/archive/${version}.tar.gz";
src = fetchFromGitHub {
owner = "OCamlPro";
repo = "ocplib-endian";
rev = version;
sha256 = "sha256-zKsSkhlZBXSqPtw+/WN3pwo9plM9rDZfMbGVfosqb10=";
};