Unverified Commit 7398c337 authored by Nick Cao's avatar Nick Cao
Browse files

nixos/stratis: passthru tests to stratis-cli and stratisd

parent 4abf0ee7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
{ lib
, python3Packages
, fetchFromGitHub
, nixosTests
}:

python3Packages.buildPythonApplication rec {
@@ -24,6 +25,8 @@ python3Packages.buildPythonApplication rec {
    packaging
  ];

  passthru.tests = nixosTests.stratis;

  meta = with lib; {
    description = "CLI for the Stratis project";
    homepage = "https://stratis-storage.github.io";
+3 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@
, tpm2-tools
, coreutils
, clevisSupport ? false
, nixosTests
}:

stdenv.mkDerivation rec {
@@ -95,6 +96,8 @@ stdenv.mkDerivation rec {
    rm -r "$out/lib/systemd/system-generators"
  '';

  passthru.tests = nixosTests.stratis;

  meta = with lib; {
    description = "Easy to use local storage management for Linux";
    homepage = "https://stratis-storage.github.io";