nixpkgs/pkgs/tools/filesystems/stratis-cli/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
745 B
Nix
Raw Normal View History

2022-08-01 15:41:31 +00:00
{ lib
, python3Packages
, fetchFromGitHub
, nixosTests
2022-08-01 15:41:31 +00:00
}:
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
];
passthru.tests = nixosTests.stratis;
2022-08-01 15:41:31 +00:00
meta = with lib; {
description = "CLI for the Stratis project";
homepage = "https://stratis-storage.github.io";
license = licenses.asl20;
maintainers = with maintainers; [ nickcao ];
};
}