8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
26 lines
829 B
Nix
26 lines
829 B
Nix
{ lib, buildPythonApplication, fetchFromGitHub, isPy3k
|
|
, opentimestamps, appdirs, GitPython, pysocks, fetchpatch, git
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "opentimestamps-client";
|
|
version = "0.7.0";
|
|
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";
|
|
rev = "opentimestamps-client-v${version}";
|
|
sha256 = "1aiq9cwr40md54swzm7wkwj0h65psxmvj2japvw79s9x0pp8iwqs";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|