ieda: init at 0-unstable-2024-10-11 (#338769)
[NixPkgs.git] / pkgs / tools / misc / opentimestamps-client / default.nix
blob64c84451e08ffcf275b1043641e3be30757d7a92
2   lib,
3   fetchFromGitHub,
4   python3,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "opentimestamps-client";
9   version = "0.7.1";
10   format = "setuptools";
12   src = fetchFromGitHub {
13     owner = "opentimestamps";
14     repo = "opentimestamps-client";
15     rev = "refs/tags/opentimestamps-client-v${version}";
16     hash = "sha256-0dWaXetRlF1MveBdJ0sAdqJ5HCdn08gkbX+nen/ygsQ=";
17   };
19   propagatedBuildInputs = with python3.pkgs; [
20     appdirs
21     gitpython
22     opentimestamps
23     pysocks
24   ];
26   nativeCheckInputs = with python3.pkgs; [
27     pytestCheckHook
28   ];
30   pythonImportsCheck = [
31     "otsclient"
32   ];
34   meta = with lib; {
35     description = "Command-line tool to create and verify OpenTimestamps proofs";
36     homepage = "https://github.com/opentimestamps/opentimestamps-client";
37     changelog = "https://github.com/opentimestamps/opentimestamps-client/releases/tag/opentimestamps-client-v${version}";
38     license = licenses.lgpl3Only;
39     maintainers = with maintainers; [ erikarvstedt ];
40   };