summary refs log tree commit diff
path: root/pkgs/tools/misc/opentimestamps-client/default.nix
blob: a062aa992be60d9043205d0757055885580668a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, buildPythonApplication, fetchFromGitHub, isPy3k
, opentimestamps, GitPython, pysocks }:

buildPythonApplication rec {
  name = "opentimestamps-client-${version}";
  version = "0.5.1";
  disabled = (!isPy3k);

  src = fetchFromGitHub {
    owner = "opentimestamps";
    repo = "opentimestamps-client";
    rev = "opentimestamps-client-v0.5.1";
    sha256 = "0s549xkb75r5wyvjlfmac8a1df6w0y55l98f492zsihdns1d6rzq";
  };

  propagatedBuildInputs = [ opentimestamps GitPython pysocks ];

  meta = {
    description = "Command-line tool to create and verify OpenTimestamps proofs";
    homepage = https://github.com/opentimestamps/opentimestamps-client;
    license = lib.licenses.lgpl3;
  };
}