mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
Merge pull request #112433 from Luflosi/update/py-multihash
python3Packages.py-multihash: 1.0.0 -> 2.0.1
This commit is contained in:
commit
bac13d7357
@ -1,49 +1,44 @@
|
||||
{ base58
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy27
|
||||
, lib
|
||||
, morphys
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, six
|
||||
, variants
|
||||
, varint
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "py-multihash";
|
||||
version = "1.0.0";
|
||||
version = "2.0.1";
|
||||
disabled = pythonOlder "3.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "multiformats";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "07qglrbgcb8sr9msqw2v7dqj9s4rs6nyvhdnx02i5w6xx5ibzi3z";
|
||||
sha256 = "sha256-z1lmSypGCMFWJNzNgV9hx/IStyXbpd5jvrptFpewuOA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
base58
|
||||
morphys
|
||||
six
|
||||
variants
|
||||
varint
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestcov
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "multihash" ];
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Self describing hashes - for future proofing";
|
||||
homepage = "https://github.com/multiformats/py-multihash";
|
||||
|
Loading…
Reference in New Issue
Block a user