nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at haskell-updates 46 lines 1.2 kB view raw
1{ 2 lib, 3 python-bitcoinlib, 4 buildPythonPackage, 5 fetchFromGitHub, 6 gitpython, 7 pycryptodomex, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "opentimestamps"; 13 version = "0.4.5"; 14 format = "setuptools"; 15 16 src = fetchFromGitHub { 17 owner = "opentimestamps"; 18 repo = "python-opentimestamps"; 19 rev = "python-opentimestamps-v${version}"; 20 hash = "sha256-clG/5NAPmmmoj4b3LdVwl58DHg1EFMIMu+erx+GT+NE="; 21 }; 22 23 propagatedBuildInputs = [ 24 python-bitcoinlib 25 gitpython 26 pycryptodomex 27 ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 # Remove a failing test which expects the test source file to reside in the 32 # project's Git repo 33 postPatch = '' 34 rm opentimestamps/tests/core/test_git.py 35 ''; 36 37 pythonImportsCheck = [ "opentimestamps" ]; 38 39 meta = { 40 description = "Create and verify OpenTimestamps proofs"; 41 homepage = "https://github.com/opentimestamps/python-opentimestamps"; 42 changelog = "https://github.com/opentimestamps/python-opentimestamps/releases/tag/python-opentimestamps-v${version}"; 43 license = lib.licenses.lgpl3Plus; 44 maintainers = with lib.maintainers; [ erikarvstedt ]; 45 }; 46}