pyln-proto: add copy of base58 2.1.0
This commit is contained in:
parent
b5984a603c
commit
048b49edae
|
@ -24,6 +24,9 @@ in {
|
||||||
|
|
||||||
## Specific versions of packages that already exist in nixpkgs
|
## Specific versions of packages that already exist in nixpkgs
|
||||||
|
|
||||||
|
# base58 2.1.0, required by pyln-proto
|
||||||
|
base58 = callPackage ./specific-versions/base58.nix {};
|
||||||
|
|
||||||
# cryptography 3.3.2, required by joinmarketdaemon
|
# cryptography 3.3.2, required by joinmarketdaemon
|
||||||
cryptography = callPackage ./specific-versions/cryptography {};
|
cryptography = callPackage ./specific-versions/cryptography {};
|
||||||
cryptography_vectors = callPackage ./specific-versions/cryptography/vectors.nix {};
|
cryptography_vectors = callPackage ./specific-versions/cryptography/vectors.nix {};
|
||||||
|
|
34
pkgs/python-packages/specific-versions/base58.nix
Normal file
34
pkgs/python-packages/specific-versions/base58.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pyhamcrest
|
||||||
|
, pytest-benchmark
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "base58";
|
||||||
|
version = "2.1.0";
|
||||||
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "sha256-FxpUe0o8YeGuOAciSm967HXjZMQ5XnViZJ1zNXaAAaI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pyhamcrest
|
||||||
|
pytest-benchmark
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "base58" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Base58 and Base58Check implementation";
|
||||||
|
homepage = "https://github.com/keis/base58";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ nyanloutre ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user