mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
Merge pull request #318783 from pbsds/fix-reproducible-patch-urls-1717622023
treewide: make fetchpatch urls reproducible
This commit is contained in:
commit
dd3cf6eb69
|
@ -27,12 +27,14 @@ rustPlatform.buildRustPackage rec {
|
|||
patches = [
|
||||
# Fix tests with Git 2.44.0+
|
||||
(fetchpatch {
|
||||
url = "https://github.com/arxanas/git-branchless/pull/1245.patch";
|
||||
name = "1245.patch"; # https://github.com/arxanas/git-branchless/pull/1245
|
||||
url = "https://github.com/arxanas/git-branchless/commit/c8436aed3d616409b4d6fb1eedb383077f435497.patch";
|
||||
hash = "sha256-gBm0A478Uhg9IQVLQppvIeTa8s1yHUMddxiUbpHUvGw=";
|
||||
})
|
||||
# Fix tests with Git 2.44.0+
|
||||
(fetchpatch {
|
||||
url = "https://github.com/arxanas/git-branchless/pull/1161.patch";
|
||||
name = "1161.patch"; # https://github.com/arxanas/git-branchless/pull/1161
|
||||
url = "https://github.com/arxanas/git-branchless/commit/6e1f26900a0dd60d10d9aa3552cab9181fa7be03.patch";
|
||||
hash = "sha256-KHobEIXhlDar8CvIVUi4I695jcJZXgGRhU86b99x86Y=";
|
||||
})
|
||||
];
|
||||
|
|
|
@ -21,7 +21,8 @@ buildLua rec {
|
|||
patches = [
|
||||
# show title of online videos instead of url
|
||||
(fetchpatch {
|
||||
url = "https://github.com/emilazy/mpv-notify-send/pull/6.patch";
|
||||
name = "6.patch"; # https://github.com/emilazy/mpv-notify-send/pull/6
|
||||
url = "https://github.com/emilazy/mpv-notify-send/commit/948347e14890e15e89cd1e069beb1140e2d01dce.patch";
|
||||
hash = "sha256-7aXQ8qeqG4yX0Uyn09xCIESnwPZsb6Frd7C49XgbpFw=";
|
||||
})
|
||||
];
|
||||
|
|
|
@ -12,12 +12,14 @@ buildNpmPackage {
|
|||
patches = [
|
||||
# electron 27 fix
|
||||
(fetchpatch {
|
||||
url = "https://github.com/webtorrent/webtorrent-desktop/pull/2388.patch";
|
||||
name = "2388.patch"; # https://github.com/webtorrent/webtorrent-desktop/pull/2388
|
||||
url = "https://github.com/webtorrent/webtorrent-desktop/compare/ebaf9cf8487dbd9e14a9a0c5adc3eab23b199e58...0c3e55d1f091bf66a342e2732550ebeccc2e4169.patch";
|
||||
hash = "sha256-gam5oAZtsaiCNFwecA5ff0nhraySLx3SOHlb/js+cPM=";
|
||||
})
|
||||
# startup fix
|
||||
(fetchpatch {
|
||||
url = "https://github.com/webtorrent/webtorrent-desktop/pull/2389.patch";
|
||||
name = "2389.patch"; # https://github.com/webtorrent/webtorrent-desktop/pull/2389
|
||||
url = "https://github.com/webtorrent/webtorrent-desktop/commit/407046d150ed7ff876a5e1978f68630e9c8f0074.patch";
|
||||
hash = "sha256-hBJGLNNjcGRhYOFlLm/RL0po+70tEeJtR6Y/CfacPAI=";
|
||||
})
|
||||
];
|
||||
|
|
|
@ -22,9 +22,9 @@ stdenv.mkDerivation (attrs: {
|
|||
|
||||
patches = [
|
||||
# This should be in next release, remember to remove fetchpatch
|
||||
(fetchpatch {
|
||||
(fetchpatch { # https://github.com/sbmlteam/libsbml/pull/358
|
||||
name = "fix-xmlerror-conversion.patch";
|
||||
url = "https://github.com/sbmlteam/libsbml/pull/358.patch";
|
||||
url = "https://github.com/sbmlteam/libsbml/commit/de2f77ee6766fe933a1472200f5e08e7c5ba6f8c.patch";
|
||||
hash = "sha256-uirG6XJ+w0hqBUEAGDnzhHoVtJVRdN1eqBYeneKMBao=";
|
||||
})
|
||||
];
|
||||
|
|
|
@ -21,14 +21,14 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
(fetchpatch { # https://github.com/morganstanley/modern-cpp-kafka/pull/221
|
||||
name = "fix-avoid-overwriting-library-paths.patch";
|
||||
url = "https://github.com/morganstanley/modern-cpp-kafka/pull/221.patch";
|
||||
url = "https://github.com/morganstanley/modern-cpp-kafka/compare/a146d10bcf166f55299c7a55728abaaea52cb0e5...a0b5ec08315759097ce656813be57b2c38d79091.patch";
|
||||
hash = "sha256-UsQcMvJoRTn5kgXhmXOyqfW3n59kGKO596U2WjtdqAY=";
|
||||
})
|
||||
(fetchpatch {
|
||||
(fetchpatch { # https://github.com/morganstanley/modern-cpp-kafka/pull/222
|
||||
name = "add-pkg-config-cmake-config.patch";
|
||||
url = "https://github.com/morganstanley/modern-cpp-kafka/pull/222.patch";
|
||||
url = "https://github.com/morganstanley/modern-cpp-kafka/commit/edc576ab83710412f6201e2bb8de5cb41682ee4a.patch";
|
||||
hash = "sha256-OjoSttnpgEwSZjCVKc888xJb5f1Dulu/rQqoGmqXNM4=";
|
||||
})
|
||||
# Fix gcc-13 build failure:
|
||||
|
|
|
@ -131,8 +131,10 @@ self: super: {
|
|||
hip = appendConfigureFlag "--ghc-options=-fsimpl-tick-factor=200" super.hip;
|
||||
|
||||
# Fix build with text-2.x.
|
||||
libmpd = appendPatch (pkgs.fetchpatch
|
||||
{ url = "https://github.com/vimus/libmpd-haskell/pull/138.patch";
|
||||
libmpd = appendPatch
|
||||
(pkgs.fetchpatch {
|
||||
name = "138.patch"; # https://github.com/vimus/libmpd-haskell/pull/138
|
||||
url = "https://github.com/vimus/libmpd-haskell/compare/95d3b3bab5858d6d1f0e079d0ab7c2d182336acb...f1cbf247261641565a3937b90721f7955d254c5e.patch";
|
||||
sha256 = "Q4fA2J/Tq+WernBo+UIMdj604ILOMlIYkG4Pr046DfM=";
|
||||
})
|
||||
super.libmpd;
|
||||
|
|
|
@ -59,9 +59,9 @@ effectiveStdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
patches = lib.optionals (cudaSupport && cudaPackages.cudaMajorMinorVersion == "12.4") [
|
||||
(fetchpatch {
|
||||
(fetchpatch { # https://github.com/dmlc/xgboost/pull/10123
|
||||
name = "Fix compilation with the ctk 12.4.";
|
||||
url = "https://github.com/dmlc/xgboost/pull/10123.patch";
|
||||
url = "https://github.com/dmlc/xgboost/commit/c760f85db0bc7bd6379901fbfb67ceccc2b37700.patch";
|
||||
hash = "sha256-iP9mll9pg8T2ztCR7dBPnLP17/x3ImJFrr5G3e2dqHo=";
|
||||
})
|
||||
];
|
||||
|
|
|
@ -36,7 +36,8 @@ buildPythonPackage rec {
|
|||
patches = [
|
||||
# Merged, remove this next release
|
||||
(fetchpatch {
|
||||
url = "https://github.com/digital-asset/dazl-client/pull/428.patch";
|
||||
name = "428.patch"; # https://github.com/digital-asset/dazl-client/pull/428
|
||||
url = "https://github.com/digital-asset/dazl-client/commit/a68bad0471d22210f0abf31447a7732477de39d4.patch";
|
||||
sha256 = "sha256-Gx9W1XkvMPg8FAOAXijDF5QnMbntk5mR0q5+o5i2KAE=";
|
||||
})
|
||||
];
|
||||
|
|
|
@ -31,9 +31,9 @@ buildPythonPackage rec {
|
|||
pydns
|
||||
];
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
(fetchpatch { # https://github.com/sdgathman/pymilter/pull/57
|
||||
name = "Remove-calls-to-the-deprecated-method-assertEquals";
|
||||
url = "https://github.com/sdgathman/pymilter/pull/57.patch";
|
||||
url = "https://github.com/sdgathman/pymilter/commit/1ead9028fc63ae3ec6ea3b0c438e6ed088a2b20e.patch";
|
||||
hash = "sha256-/5LlDR15nMR3l7rkVjT3w4FbDTFAAgNdERWlPNL2TVg=";
|
||||
})
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue