ocamlPackages.github: 4.5.0 -> 4.5.1
This commit is contained in:
@@ -13,13 +13,13 @@
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "github";
|
||||
version = "4.5.0";
|
||||
version = "4.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mirage";
|
||||
repo = "ocaml-github";
|
||||
rev = version;
|
||||
sha256 = "sha256-/IRoaGh4nYcdv4ir3LOS1d9UHLfWJ6DdPyFoFVCS+p4=";
|
||||
sha256 = "sha256-nxHXOdZAvFe5/lKNw7tTJmY86xzfdFT+fW+lnKioyPM=";
|
||||
};
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
@@ -13,16 +13,8 @@ buildDunePackage {
|
||||
pname = "github-unix";
|
||||
inherit (github) version src;
|
||||
|
||||
patches = [
|
||||
# Compatibility with yojson 3.0
|
||||
(fetchpatch {
|
||||
url = "https://github.com/mirage/ocaml-github/commit/487d7d413363921a8ffbb941610c2f71c811add8.patch";
|
||||
hash = "sha256-ThCsWRQKmlRg7rk8tlorsO87v8RWnBvocHDvgg/WWMA=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace unix/dune --replace 'github bytes' 'github'
|
||||
substituteInPlace unix/dune --replace-fail 'github bytes' 'github'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user