ocamlPackages.ocp-indent: switch to fetchFromGitHub
This commit is contained in:
parent
8f1a669d9f
commit
bcf11847a2
@ -1,4 +1,4 @@
|
||||
{ lib, fetchzip, buildDunePackage, cmdliner }:
|
||||
{ lib, fetchFromGitHub, buildDunePackage, cmdliner }:
|
||||
|
||||
buildDunePackage rec {
|
||||
version = "1.8.2";
|
||||
@ -6,9 +6,11 @@ buildDunePackage rec {
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/OCamlPro/ocp-indent/archive/${version}.tar.gz";
|
||||
sha256 = "1dvcl108ir9nqkk4mjm9xhhj4p9dx9bmg8bnms54fizs1x3x8ar3";
|
||||
src = fetchFromGitHub {
|
||||
owner = "OCamlPro";
|
||||
repo = "ocp-indent";
|
||||
rev = version;
|
||||
sha256 = "sha256-IyvURw/6R0eKrnahV1fqLV0iIeypykrmxDbliECgbLc=";
|
||||
};
|
||||
|
||||
minimumOCamlVersion = "4.02";
|
||||
|
Loading…
Reference in New Issue
Block a user