2018-03-07 12:00:32 +01:00
|
|
|
{ lib, buildPythonApplication, fetchFromGitHub, isPy3k
|
2018-08-10 00:10:55 +02:00
|
|
|
, opentimestamps, appdirs, GitPython, pysocks, fetchpatch, git
|
|
|
|
}:
|
2018-03-07 12:00:32 +01:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
2018-04-27 20:21:50 +02:00
|
|
|
pname = "opentimestamps-client";
|
2020-01-09 18:59:00 +01:00
|
|
|
version = "0.7.0";
|
2018-03-07 12:00:32 +01:00
|
|
|
disabled = (!isPy3k);
|
|
|
|
|
2018-04-27 20:21:50 +02:00
|
|
|
# We can't use the pypi source because it doesn't include README.md which is
|
|
|
|
# needed in setup.py
|
2018-03-07 12:00:32 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "opentimestamps";
|
|
|
|
repo = "opentimestamps-client";
|
2018-04-27 20:21:50 +02:00
|
|
|
rev = "opentimestamps-client-v${version}";
|
2020-01-09 18:59:00 +01:00
|
|
|
sha256 = "1aiq9cwr40md54swzm7wkwj0h65psxmvj2japvw79s9x0pp8iwqs";
|
2018-03-07 12:00:32 +01:00
|
|
|
};
|
|
|
|
|
2018-04-27 20:21:50 +02:00
|
|
|
propagatedBuildInputs = [ opentimestamps appdirs GitPython pysocks ];
|
2018-03-07 12:00:32 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Command-line tool to create and verify OpenTimestamps proofs";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/opentimestamps/opentimestamps-client";
|
2018-03-07 12:00:32 +01:00
|
|
|
license = lib.licenses.lgpl3;
|
|
|
|
};
|
|
|
|
}
|