summaryrefslogtreecommitdiff
path: root/pkgs/build-support/fetchdebianpatch
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/fetchdebianpatch
parentfetchDebianPatch: Rename `patch` parameter, make `name` overrideable (diff)
downloadnixpkgs-e4162c9e7bc7f2a36a10e1c5e1f5ef80953d1b4b.tar.gz
fetchDebianPatch: add test
Diffstat (limited to 'pkgs/build-support/fetchdebianpatch')
-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 000000000000..2146f66ce709
--- /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=";
+ };
+}