2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonApplication, fetchFromGitHub, isPy3k
|
|
|
|
, opentimestamps, appdirs, GitPython, pysocks, fetchpatch, git
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "opentimestamps-client";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "0.7.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
disabled = (!isPy3k);
|
|
|
|
|
|
|
|
# We can't use the pypi source because it doesn't include README.md which is
|
|
|
|
# needed in setup.py
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "opentimestamps";
|
|
|
|
repo = "opentimestamps-client";
|
2022-09-09 14:08:57 +00:00
|
|
|
rev = "refs/tags/opentimestamps-client-v${version}";
|
|
|
|
sha256 = "sha256-0dWaXetRlF1MveBdJ0sAdqJ5HCdn08gkbX+nen/ygsQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ opentimestamps appdirs GitPython pysocks ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Command-line tool to create and verify OpenTimestamps proofs";
|
|
|
|
homepage = "https://github.com/opentimestamps/opentimestamps-client";
|
|
|
|
license = lib.licenses.lgpl3;
|
|
|
|
};
|
|
|
|
}
|