nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 662695517c615325f7584d975372622d5d8eca44
parent c69636513b490156298d8053eee38d3ad1cd9d09
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sun, 28 Jan 2024 15:48:19 +0400

Move glauth to nixpkgs

Diffstat:
Mpkgs/default.nix | 1-
Dpkgs/misc/glauth/default.nix | 35-----------------------------------
2 files changed, 0 insertions(+), 36 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -354,7 +354,6 @@ lib.makeScope newScope ( freeopcua = callPackage ./misc/freeopcua { }; gaiagpsclient = callPackage ./misc/gaiagpsclient { }; git-tui = callPackage ./misc/git-tui { }; - glauth = callPackage ./misc/glauth { }; graphene = callPackage ./misc/graphene { }; heapusage = callPackage ./misc/heapusage { }; how-to-use-pvs-studio-free = callPackage ./misc/pvs-studio/how-to-use-pvs-studio-free.nix { }; diff --git a/pkgs/misc/glauth/default.nix b/pkgs/misc/glauth/default.nix @@ -1,35 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, buildGoModule, go-bindata }: - -buildGoModule rec { - pname = "glauth"; - version = "1.1.2"; - - src = fetchFromGitHub { - owner = "glauth"; - repo = "glauth"; - rev = "v${version}"; - hash = "sha256-2U9LmK+gqVaYnVBvqS3CeNmrK2pFmS5X/oQqFb4MQKk="; - }; - - vendorHash = "sha256-iYQi3k9uIsbmf4tTAruiowH0gN+WqvRTYIfzmjSoNqI="; - - nativeBuildInputs = [ go-bindata ]; - - ldflags = [ - "-s -w" - "-X main.LastGitTag=v${version}" - "-X main.GitTagIsCommit=1" - ]; - - preBuild = "go-bindata -pkg=assets -o=pkg/assets/bindata.go assets"; - - doCheck = false; - - meta = with lib; { - description = "A lightweight LDAP server for development, home use, or CI"; - inherit (src.meta) homepage; - license = licenses.mit; - maintainers = [ maintainers.sikmir ]; - broken = stdenv.isDarwin; - }; -}