2022-12-05 19:10:34 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
2018-08-09 22:10:55 +00:00
|
|
|
}:
|
2018-03-07 11:00:32 +00:00
|
|
|
|
2022-12-05 19:10:34 +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";
|
2022-12-05 19:10:34 +00:00
|
|
|
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}";
|
2022-12-05 19:10:34 +00:00
|
|
|
hash = "sha256-0dWaXetRlF1MveBdJ0sAdqJ5HCdn08gkbX+nen/ygsQ=";
|
2018-03-07 11:00:32 +00:00
|
|
|
};
|
|
|
|
|
2022-12-05 19:10:34 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
appdirs
|
|
|
|
gitpython
|
|
|
|
opentimestamps
|
|
|
|
pysocks
|
|
|
|
];
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = with python3.pkgs; [
|
2022-12-05 19:10:34 +00:00
|
|
|
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";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/opentimestamps/opentimestamps-client";
|
2022-12-05 19:10:34 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|