pythonPackages.opentimestamps: init at 0.2.1

This commit is contained in:
Erik Arvstedt 2018-03-07 11:50:23 +01:00
parent c9b4dc17f0
commit 7374c5bed9
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
, bitcoinlib, GitPython, pysha3 }:
buildPythonPackage rec {
name = "opentimestamps-${version}";
version = "0.2.1";
disabled = (!isPy3k);
src = fetchFromGitHub {
owner = "opentimestamps";
repo = "python-opentimestamps";
rev = "python-opentimestamps-v0.2.1";
sha256 = "1cilv1ls9mdqk8zriqfkz7xcl8i1ncm0f89n4c8k4s82kf5y56rm";
};
# Remove a failing test which expects the test source file to reside in the
# project's Git repo
patchPhase = ''
rm opentimestamps/tests/core/test_git.py
'';
propagatedBuildInputs = [ bitcoinlib GitPython pysha3 ];
meta = {
description = "Create and verify OpenTimestamps proofs";
homepage = https://github.com/opentimestamps/python-opentimestamps;
license = lib.licenses.lgpl3;
};
}

View File

@ -11400,6 +11400,8 @@ in {
openpyxl = callPackage ../development/python-modules/openpyxl { };
opentimestamps = callPackage ../development/python-modules/opentimestamps { };
ordereddict = buildPythonPackage rec {
name = "ordereddict-${version}";
version = "1.1";