nixpkgs/pkgs/tools/misc/opentimestamps-client/default.nix

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

41 lines
1003 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, python3
}:
2018-03-07 11:00:32 +00:00
python3.pkgs.buildPythonApplication rec {
2018-04-27 18:21:50 +00:00
pname = "opentimestamps-client";
2022-08-29 12:27:44 +00:00
version = "0.7.1";
format = "setuptools";
2018-03-07 11:00:32 +00:00
src = fetchFromGitHub {
owner = "opentimestamps";
repo = "opentimestamps-client";
2022-08-29 12:27:44 +00:00
rev = "refs/tags/opentimestamps-client-v${version}";
hash = "sha256-0dWaXetRlF1MveBdJ0sAdqJ5HCdn08gkbX+nen/ygsQ=";
2018-03-07 11:00:32 +00:00
};
propagatedBuildInputs = with python3.pkgs; [
appdirs
gitpython
opentimestamps
pysocks
];
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
];
pythonImportsCheck = [
"otsclient"
];
2018-03-07 11:00:32 +00:00
2022-12-04 09:53:08 +00:00
meta = with lib; {
2018-03-07 11:00:32 +00:00
description = "Command-line tool to create and verify OpenTimestamps proofs";
homepage = "https://github.com/opentimestamps/opentimestamps-client";
changelog = "https://github.com/opentimestamps/opentimestamps-client/releases/tag/opentimestamps-client-v${version}";
license = licenses.lgpl3Only;
2022-12-04 09:53:08 +00:00
maintainers = with maintainers; [ erikarvstedt ];
2018-03-07 11:00:32 +00:00
};
}