nixos/bitwarden_rs: add test

This commit is contained in:
Jamie McClymont
2020-08-23 07:29:42 +12:00
parent a359d95c73
commit f5f2d89fb7
4 changed files with 195 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";