nixpkgs/pkgs/tools/networking/curl-impersonate/default.nix
2024-08-10 00:01:53 -03:00

26 lines
515 B
Nix

{
symlinkJoin,
callPackage,
nixosTests,
}:
symlinkJoin rec {
pname = "curl-impersonate";
inherit (passthru.curl-impersonate-chrome) version meta;
name = "${pname}-${version}";
paths = [
passthru.curl-impersonate-ff
passthru.curl-impersonate-chrome
];
passthru = {
curl-impersonate-ff = callPackage ./firefox {};
curl-impersonate-chrome = callPackage ./chrome {};
inherit (passthru.curl-impersonate-chrome) src;
tests = {inherit (nixosTests) curl-impersonate;};
};
}