fetchDebianPatch: add test
This commit is contained in:
parent
d4e265327f
commit
e4162c9e7b
11
pkgs/build-support/fetchdebianpatch/tests.nix
Normal file
11
pkgs/build-support/fetchdebianpatch/tests.nix
Normal file
|
@ -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=";
|
||||||
|
};
|
||||||
|
}
|
|
@ -35,6 +35,7 @@ with pkgs;
|
||||||
fetchurl = callPackages ../build-support/fetchurl/tests.nix { };
|
fetchurl = callPackages ../build-support/fetchurl/tests.nix { };
|
||||||
fetchpatch = callPackages ../build-support/fetchpatch/tests.nix { };
|
fetchpatch = callPackages ../build-support/fetchpatch/tests.nix { };
|
||||||
fetchpatch2 = callPackages ../build-support/fetchpatch/tests.nix { fetchpatch = fetchpatch2; };
|
fetchpatch2 = callPackages ../build-support/fetchpatch/tests.nix { fetchpatch = fetchpatch2; };
|
||||||
|
fetchDebianPatch = callPackages ../build-support/fetchdebianpatch/tests.nix { };
|
||||||
fetchzip = callPackages ../build-support/fetchzip/tests.nix { };
|
fetchzip = callPackages ../build-support/fetchzip/tests.nix { };
|
||||||
fetchgit = callPackages ../build-support/fetchgit/tests.nix { };
|
fetchgit = callPackages ../build-support/fetchgit/tests.nix { };
|
||||||
fetchFirefoxAddon = callPackages ../build-support/fetchfirefoxaddon/tests.nix { };
|
fetchFirefoxAddon = callPackages ../build-support/fetchfirefoxaddon/tests.nix { };
|
||||||
|
|
|
@ -1173,7 +1173,10 @@ with pkgs;
|
||||||
tests = pkgs.tests.fetchzip;
|
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 { };
|
fetchCrate = callPackage ../build-support/rust/fetchcrate.nix { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue