ocamlPackages.ocplib-endian: switch to fetchFromGitHub
This commit is contained in:
parent
88e5a0b344
commit
fa8d1b35aa
1 changed files with 5 additions and 3 deletions
|
@ -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=";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue