Merge pull request #89729 from JJJollyjim/bitwarden-rs-test

nixos/bitwarden_rs: add test
This commit is contained in:
Lassulus
2020-08-22 23:23:55 +02:00
committed by GitHub
5 changed files with 201 additions and 2 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, rustPlatform, fetchFromGitHub
{ stdenv, rustPlatform, fetchFromGitHub, nixosTests
, pkgconfig, openssl
, Security, CoreServices
, dbBackend ? "sqlite", libmysqlclient, postgresql }:
@@ -35,6 +35,8 @@ in rustPlatform.buildRustPackage rec {
runHook postCheck
'';
passthru.tests = nixosTests.bitwarden;
meta = with stdenv.lib; {
description = "Unofficial Bitwarden compatible server written in Rust";
homepage = "https://github.com/dani-garcia/bitwarden_rs";
+3 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, nixosTests }:
stdenv.mkDerivation rec {
pname = "bitwarden_rs-vault";
@@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
mv web-vault vault
'';
passthru.tests = nixosTests.bitwarden;
meta = with stdenv.lib; {
description = "Integrates the web vault into bitwarden_rs";
homepage = "https://github.com/dani-garcia/bw_web_builds";