biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / misc / opentimestamps-client / default.nix
blob2a5c2c05a0fbf40a9a163bc11bbb8f0259a143e3
1 { lib
2 , fetchFromGitHub
3 , python3
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "opentimestamps-client";
8   version = "0.7.1";
9   format = "setuptools";
11   src = fetchFromGitHub {
12     owner = "opentimestamps";
13     repo = "opentimestamps-client";
14     rev = "refs/tags/opentimestamps-client-v${version}";
15     hash = "sha256-0dWaXetRlF1MveBdJ0sAdqJ5HCdn08gkbX+nen/ygsQ=";
16   };
18   propagatedBuildInputs = with python3.pkgs; [
19     appdirs
20     gitpython
21     opentimestamps
22     pysocks
23   ];
25   nativeCheckInputs = with python3.pkgs; [
26     pytestCheckHook
27   ];
29   pythonImportsCheck = [
30     "otsclient"
31   ];
33   meta = with lib; {
34     description = "Command-line tool to create and verify OpenTimestamps proofs";
35     homepage = "https://github.com/opentimestamps/opentimestamps-client";
36     changelog = "https://github.com/opentimestamps/opentimestamps-client/releases/tag/opentimestamps-client-v${version}";
37     license = licenses.lgpl3Only;
38     maintainers = with maintainers; [ erikarvstedt ];
39   };