ocamlPackages.twt: switch to fetchFromGitHub
This commit is contained in:
parent
8746c8141f
commit
156e4d312d
1 changed files with 10 additions and 7 deletions
|
@ -1,11 +1,14 @@
|
|||
{ lib, stdenv, fetchzip, ocaml, findlib }:
|
||||
{ lib, stdenv, fetchFromGitHub, ocaml, findlib }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml${ocaml.version}-twt-0.94.0";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml${ocaml.version}-twt";
|
||||
version = "0.94.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/mlin/twt/archive/v0.94.0.tar.gz";
|
||||
sha256 = "0298gdgzl4cifxnc1d8sbrvz1lkiq5r5ifkq1fparm6gvqywpf65";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mlin";
|
||||
repo = "twt";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-xbjLPd7P1KyuC3i6WHLBcdLwd14atcBsd5ER+l97KAk=";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ];
|
||||
|
@ -26,6 +29,6 @@ stdenv.mkDerivation {
|
|||
description = "“The Whitespace Thing” for OCaml";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.vbgl ];
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue