Files
nixpkgs/pkgs/development/python-modules/cashaddress/default.nix
AlexAntonik 3380de44d6 python3Packages.cashaddress: fix license
Signed-off-by: AlexAntonik <antonikavv@gmail.com>
2026-09-25 14:05:41 +03:00

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 ];
};
}