diff --git a/pkgs/tools/filesystems/stratis-cli/default.nix b/pkgs/tools/filesystems/stratis-cli/default.nix new file mode 100644 index 000000000000..b0e279d0228c --- /dev/null +++ b/pkgs/tools/filesystems/stratis-cli/default.nix @@ -0,0 +1,33 @@ +{ lib +, python3Packages +, fetchFromGitHub +}: + +python3Packages.buildPythonApplication rec { + pname = "stratis-cli"; + version = "3.2.0"; + + src = fetchFromGitHub { + owner = "stratis-storage"; + repo = pname; + rev = "v${version}"; + hash = "sha256-JQXTzvm4l/pl2T4djZ3HEdDQJdFE+I9doe8Iv5q34kw="; + }; + + propagatedBuildInputs = with python3Packages; [ + psutil + python-dateutil + wcwidth + justbytes + dbus-client-gen + dbus-python-client-gen + packaging + ]; + + meta = with lib; { + description = "CLI for the Stratis project"; + homepage = "https://stratis-storage.github.io"; + license = licenses.asl20; + maintainers = with maintainers; [ nickcao ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ce4a69104f56..425b32c7ed82 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5918,6 +5918,8 @@ with pkgs; stratisd = callPackage ../tools/filesystems/stratisd { }; + stratis-cli = callPackage ../tools/filesystems/stratis-cli { }; + strawberry = libsForQt5.callPackage ../applications/audio/strawberry { }; schildichat-desktop = callPackage ../applications/networking/instant-messengers/schildichat/schildichat-desktop.nix {