fix: update teh metadata/package

This commit is contained in:
silver 2023-11-06 05:18:52 +00:00
parent 54f54d31b1
commit c53e7ffcf2

View file

@ -1,7 +1,7 @@
{ {
lib, lib,
buildNpmPackage, buildNpmPackage,
fetchgit, fetchFromGitHub,
pkgs, pkgs,
git, git,
python3, python3,
@ -13,12 +13,14 @@
in in
buildNpmPackage' rec { buildNpmPackage' rec {
pname = "bitwarden-directory-connector"; pname = "bitwarden-directory-connector";
version = "v2023.10.0"; version = "2023.10.0";
src = fetchgit { src = fetchFromGitHub {
url = "https://github.com/bitwarden/directory-connector.git"; owner = "bitwarden";
rev = version; repo = "directory-connector";
hash = "sha256-5gU7nIPHU94Yhd83C9y0ABL9PbSfMn9WhV2wlpdr2fE="; rev = "b2bc45137013b258bffda2c2703715cb9f6e687f";
hash = "sha256-CgaCnMWNVWCJBypNcdoseVCwD8Mlq4YaWpK+VZT/7Qk=";
leaveDotGit = true;
}; };
npmDepsHash = "sha256-jBAWWY12qeX2EDhUvT3TQpnQvYXRsIilRrXGpVzxYvw="; npmDepsHash = "sha256-jBAWWY12qeX2EDhUvT3TQpnQvYXRsIilRrXGpVzxYvw=";
@ -44,9 +46,10 @@ in
]; ];
meta = with lib; { meta = with lib; {
description = "Bitwarden Directory Connector"; description = "A LDAP connector for Bitwarden";
homepage = "https://github.com/bitwarden/directory-connector"; homepage = "https://github.com/bitwarden/directory-connector";
license = licenses.gpl3Only; license = licenses.gpl3Only;
maintainers = with maintainers; [Silver-Golden]; maintainers = with maintainers; [Silver-Golden];
platforms = platforms.linux;
}; };
} }