Commit e4162c9e authored by nicoo's avatar nicoo
Browse files

fetchDebianPatch: add test

parent d4e26532
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
{ 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=";
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ with pkgs;
  fetchurl = callPackages ../build-support/fetchurl/tests.nix { };
  fetchpatch = callPackages ../build-support/fetchpatch/tests.nix { };
  fetchpatch2 = callPackages ../build-support/fetchpatch/tests.nix { fetchpatch = fetchpatch2; };
  fetchDebianPatch = callPackages ../build-support/fetchdebianpatch/tests.nix { };
  fetchzip = callPackages ../build-support/fetchzip/tests.nix { };
  fetchgit = callPackages ../build-support/fetchgit/tests.nix { };
  fetchFirefoxAddon = callPackages ../build-support/fetchfirefoxaddon/tests.nix { };
+4 −1
Original line number Diff line number Diff line
@@ -1173,7 +1173,10 @@ with pkgs;
      tests = pkgs.tests.fetchzip;
    };
  fetchDebianPatch = callPackage ../build-support/fetchdebianpatch { };
  fetchDebianPatch = callPackage ../build-support/fetchdebianpatch { }
    // {
      tests = pkgs.tests.fetchDebianPatch;
    };
  fetchCrate = callPackage ../build-support/rust/fetchcrate.nix { };