Merge pull request #197416 from fabaff/opentimestamps-bump
python310Packages.opentimestamps: 0.4.1 -> 0.4.2
This commit is contained in:
commit
f36801e405
1 changed files with 30 additions and 17 deletions
|
@ -1,26 +1,37 @@
|
||||||
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, isPy3k
|
{ lib
|
||||||
, bitcoinlib, GitPython, pysha3, git }:
|
, bitcoinlib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, git
|
||||||
|
, GitPython
|
||||||
|
, pysha3
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "opentimestamps";
|
pname = "opentimestamps";
|
||||||
version = "0.4.1";
|
version = "0.4.2";
|
||||||
disabled = (!isPy3k);
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
# We can't use the pypi source because it doesn't include README.md which is
|
|
||||||
# needed in setup.py
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "opentimestamps";
|
owner = "opentimestamps";
|
||||||
repo = "python-opentimestamps";
|
repo = "python-opentimestamps";
|
||||||
rev = "python-opentimestamps-v${version}";
|
rev = "python-opentimestamps-v${version}";
|
||||||
sha256 = "0c45ij8absfgwizq6dfgg81siq3y8605sgg184vazp292w8nqmqr";
|
hash = "sha256-RRCAxDYWySmnG1sEQWurUDQsu+vPx9Npbr6BaoNGm1U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
propagatedBuildInputs = [
|
||||||
# build against bitcoinlib-0.11
|
bitcoinlib
|
||||||
(fetchpatch {
|
GitPython
|
||||||
url = "https://patch-diff.githubusercontent.com/raw/opentimestamps/python-opentimestamps/pull/43.patch";
|
pysha3
|
||||||
sha256 = "0bxzk4pzpqk7zrk2x7vn2bj2n3pc5whf8ijbd225s6674q450zbg";
|
];
|
||||||
})
|
|
||||||
|
checkInputs = [
|
||||||
|
git
|
||||||
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
# Remove a failing test which expects the test source file to reside in the
|
# Remove a failing test which expects the test source file to reside in the
|
||||||
|
@ -29,12 +40,14 @@ buildPythonPackage rec {
|
||||||
rm opentimestamps/tests/core/test_git.py
|
rm opentimestamps/tests/core/test_git.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [ git ];
|
pythonImportsCheck = [
|
||||||
propagatedBuildInputs = [ bitcoinlib GitPython pysha3 ];
|
"opentimestamps"
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "Create and verify OpenTimestamps proofs";
|
description = "Create and verify OpenTimestamps proofs";
|
||||||
homepage = "https://github.com/opentimestamps/python-opentimestamps";
|
homepage = "https://github.com/opentimestamps/python-opentimestamps";
|
||||||
license = lib.licenses.lgpl3;
|
license = licenses.lgpl3Plus;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue