nixos/bitwarden_rs: add test
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user