about summary refs log tree commit diff
path: root/pkgs/build-support/fetchpatch
diff options
context:
space:
mode:
authorArtturi <Artturin@artturin.com>2021-10-25 13:13:22 +0300
committerGitHub <noreply@github.com>2021-10-25 13:13:22 +0300
commit44403b728b3869685fa8bceaa9e491f5b5ad5347 (patch)
tree0f3e4d1f627d831e5ec8cf50ab1d60a2e187cdd6 /pkgs/build-support/fetchpatch
parentb0d580340086409e6181643a37d82d834a164bf2 (diff)
patchutils: add 0.4.2 variant + remove meta.executable + enable tests + fix inter-dependencies by wrapping (#141567)
Diffstat (limited to 'pkgs/build-support/fetchpatch')
-rw-r--r--pkgs/build-support/fetchpatch/tests.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/build-support/fetchpatch/tests.nix b/pkgs/build-support/fetchpatch/tests.nix
new file mode 100644
index 0000000000000..4240b325d6563
--- /dev/null
+++ b/pkgs/build-support/fetchpatch/tests.nix
@@ -0,0 +1,8 @@
+{ invalidateFetcherByDrvHash, fetchpatch, ... }:
+
+{
+  simple = invalidateFetcherByDrvHash fetchpatch {
+    url = "https://github.com/facebook/zstd/pull/2724/commits/e1f85dbca3a0ed5ef06c8396912a0914db8dea6a.patch";
+    sha256 = "sha256-PuYAqnJWAE+L9bsroOnnBGJhERW8LHrGSLtIEkKU9vg=";
+  };
+}