about summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authornicoo <nicoo@mur.at>2023-08-30 07:50:44 +0000
committernicoo <nicoo@mur.at>2023-08-30 07:55:07 +0000
commite4162c9e7bc7f2a36a10e1c5e1f5ef80953d1b4b (patch)
tree96b439a642dc02e2f4fea0b36e5b4d5918f0a548 /pkgs/build-support
parentd4e265327f9b98ee6bddd08f422bc0372c484193 (diff)
fetchDebianPatch: add test
Diffstat (limited to 'pkgs/build-support')
-rw-r--r--pkgs/build-support/fetchdebianpatch/tests.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/build-support/fetchdebianpatch/tests.nix b/pkgs/build-support/fetchdebianpatch/tests.nix
new file mode 100644
index 0000000000000..2146f66ce709f
--- /dev/null
+++ b/pkgs/build-support/fetchdebianpatch/tests.nix
@@ -0,0 +1,11 @@
+{ testers, fetchDebianPatch, ... }:
+
+{
+  simple = testers.invalidateFetcherByDrvHash fetchDebianPatch {
+    pname = "pysimplesoap";
+    version = "1.16.2";
+    debianRevision = "5";
+    patch = "Add-quotes-to-SOAPAction-header-in-SoapClient";
+    hash = "sha256-xA8Wnrpr31H8wy3zHSNfezFNjUJt1HbSXn3qUMzeKc0=";
+  };
+}