git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.cppo: 1.6.7 → 1.6.8
commitc535db45ceb6d9aaecd5d260127ecf8335000378 authorVincent Laporte <Vincent.Laporte@gmail.com> dateWed 20 Oct 2021, 15:40 (5 years ago) parent8652402
1 file changed+7−5
pkgs/development/tools/ocaml/cppo/default.nix+7−5
pkgs/development/tools/ocaml/cppo/default.nix+7−5
@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchurl, fetchFromGitHub, ocaml, findlib, ocamlbuild
1+{ lib, stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild
22, buildDunePackage
33}:
44
@@ -21,13 +21,15 @@ if lib.versionAtLeast ocaml.version "4.02" then
2121
2222buildDunePackage rec {
2323 inherit pname;
24− version = "1.6.7";
24+ version = "1.6.8";
2525
2626 useDune2 = true;
2727
28− src = fetchurl {
29− url = "https://github.com/ocaml-community/cppo/releases/download/v${version}/cppo-v${version}.tbz";
30− sha256 = "17ajdzrnmnyfig3s6hinb56mcmhywbssxhsq32dz0v90dhz3wmfv";
28+ src = fetchFromGitHub {
29+ owner = "ocaml-community";
30+ repo = pname;
31+ rev = "v${version}";
32+ sha256 = "sha256:0xjb1dnj8lvdcccskrhrakknd9q4vfy5330sjbqpf4h95dsz90k9";
3133 };
3234
3335 doCheck = true;