mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-30 09:50:18 +00:00
35 lines
833 B
Nix
35 lines
833 B
Nix
{
|
|
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.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|