mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
ocamlPackages.typerep: switch to fetchFromGitHub
This commit is contained in:
parent
6fd5756e49
commit
8746c8141f
@ -1,4 +1,4 @@
|
|||||||
{lib, buildOcaml, fetchurl, type_conv}:
|
{ lib, buildOcaml, fetchFromGitHub, type_conv }:
|
||||||
|
|
||||||
buildOcaml rec {
|
buildOcaml rec {
|
||||||
name = "typerep";
|
name = "typerep";
|
||||||
@ -6,9 +6,11 @@ buildOcaml rec {
|
|||||||
|
|
||||||
minimumSupportedOcamlVersion = "4.00";
|
minimumSupportedOcamlVersion = "4.00";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/janestreet/typerep/archive/${version}.tar.gz";
|
owner = "janestreet";
|
||||||
sha256 = "4f1ab611a00aaf774e9774b26b687233e0c70d91f684415a876f094a9969eada";
|
repo = "typerep";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-XCdUZp9Buwmo6qPYAoPD2P/gUgyWHTR7boyecBPKlho=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ type_conv ];
|
propagatedBuildInputs = [ type_conv ];
|
||||||
|
Loading…
Reference in New Issue
Block a user