diff options
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/pipebang/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/ocaml-modules/pipebang/default.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/pipebang/default.nix b/nixpkgs/pkgs/development/ocaml-modules/pipebang/default.nix index 36eb3fe54bbe..489ca3d2c708 100644 --- a/nixpkgs/pkgs/development/ocaml-modules/pipebang/default.nix +++ b/nixpkgs/pkgs/development/ocaml-modules/pipebang/default.nix @@ -1,14 +1,16 @@ -{lib, buildOcaml, fetchurl}: +{ lib, buildOcaml, fetchFromGitHub }: buildOcaml rec { - name = "pipebang"; + pname = "pipebang"; version = "113.00.00"; minimumSupportedOcamlVersion = "4.00"; - src = fetchurl { - url = "https://github.com/janestreet/pipebang/archive/${version}.tar.gz"; - sha256 = "0acm2y8wxvnapa248lkgm0vcc44hlwhrjxqkx1awjxzcmarnxhfk"; + src = fetchFromGitHub { + owner = "janestreet"; + repo = "pipebang"; + rev = version; + sha256 = "sha256-9A3X/ciL5HtuKQ5awS+hDDBLL5ytOr12wHsmJLNRn+Q="; }; meta = with lib; { |