From c53e7ffcf2ea8c7d43407a7c98931f19af67d583 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Mon, 6 Nov 2023 05:18:52 +0000 Subject: [PATCH] fix: update teh metadata/package --- .../_bitwarden-directory-connector.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/applications/bitwarden/_bitwarden-directory-connector.nix b/applications/bitwarden/_bitwarden-directory-connector.nix index 55edf6d..ec754dc 100644 --- a/applications/bitwarden/_bitwarden-directory-connector.nix +++ b/applications/bitwarden/_bitwarden-directory-connector.nix @@ -1,7 +1,7 @@ { lib, buildNpmPackage, - fetchgit, + fetchFromGitHub, pkgs, git, python3, @@ -13,12 +13,14 @@ in buildNpmPackage' rec { pname = "bitwarden-directory-connector"; - version = "v2023.10.0"; + version = "2023.10.0"; - src = fetchgit { - url = "https://github.com/bitwarden/directory-connector.git"; - rev = version; - hash = "sha256-5gU7nIPHU94Yhd83C9y0ABL9PbSfMn9WhV2wlpdr2fE="; + src = fetchFromGitHub { + owner = "bitwarden"; + repo = "directory-connector"; + rev = "b2bc45137013b258bffda2c2703715cb9f6e687f"; + hash = "sha256-CgaCnMWNVWCJBypNcdoseVCwD8Mlq4YaWpK+VZT/7Qk="; + leaveDotGit = true; }; npmDepsHash = "sha256-jBAWWY12qeX2EDhUvT3TQpnQvYXRsIilRrXGpVzxYvw="; @@ -44,9 +46,10 @@ in ]; meta = with lib; { - description = "Bitwarden Directory Connector"; + description = "A LDAP connector for Bitwarden"; homepage = "https://github.com/bitwarden/directory-connector"; license = licenses.gpl3Only; maintainers = with maintainers; [Silver-Golden]; + platforms = platforms.linux; }; }