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; }; }