blob: 2d2fdb42722f91b582c716dc073196038d093105 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "cashaddress";
version = "1.0.6-unstable-2019-05-15";
pyproject = true;
src = fetchFromGitHub {
owner = "oskyk";
repo = "cashaddress";
rev = "0ca44cff6bd3e63a67b494296c0d1eeaf6cc120d";
hash = "sha256-4izWD2KZqy1F7CAgdbe1fpjMlMZC0clrkHKS9IIQuoc=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "cashaddress" ];
meta = {
description = "Python tool for convert bitcoin cash legacy addresses";
homepage = "https://github.com/oskyk/cashaddress";
changelog = "https://github.com/oskyk/cashaddress/releases/tag/${version}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ fab ];
};
}
|