summary refs log tree commit diff
path: root/pkgs/build-support/fetchpatch/tests.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/fetchpatch/tests.nix')
-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 00000000000..4240b325d65
--- /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=";
+  };
+}