mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
32 lines
775 B
Nix
32 lines
775 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildGoModule
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "gof5";
|
|
version = "0.1.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kayrus";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "10qh7rj8s540ghjdvymly53vny3n0qd0z0ixy24n026jjhgjvnpl";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
# The tests are broken and apparently you need to uncomment some lines in the
|
|
# code in order for it to work.
|
|
# See: https://github.com/kayrus/gof5/blob/674485bdf5a0eb2ab57879a32a2cb4bab8d5d44c/pkg/client/http.go#L172-L174
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Open Source F5 BIG-IP VPN client";
|
|
homepage = "https://github.com/kayrus/gof5";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ leixb ];
|
|
mainProgram = "gof5";
|
|
};
|
|
}
|