1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/tools/networking/goklp/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

25 lines
609 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "goklp";
version = "1.6";
goPackagePath = "github.com/AppliedTrust/goklp";
src = fetchFromGitHub {
owner = "AppliedTrust";
repo = "goklp";
rev = "v${version}";
sha256 = "054qmwfaih8qbvdyy4rqbb1ip3jpnm547n390hgab8yc3bdd840c";
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
description = "Golang OpenSSH Keys Ldap Provider for AuthorizedKeysCommand";
homepage = https://github.com/AppliedTrust/goklp;
maintainers = with maintainers; [ disassembler ];
license = licenses.bsd2;
};
}