Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / cashaddress / default.nix
blob8458f9b7fba6148e2e24c0be3c338fa5c4e6b86b
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , setuptools
5 , pythonOlder
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "cashaddress";
11   version = "1.0.6-unstable-2015-05-19";
12   pyproject = true;
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "oskyk";
18     repo = "cashaddress";
19     rev = "0ca44cff6bd3e63a67b494296c0d1eeaf6cc120d";
20     hash = "sha256-4izWD2KZqy1F7CAgdbe1fpjMlMZC0clrkHKS9IIQuoc=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [
32     "cashaddress"
33   ];
35   meta = with lib; {
36     description = "Python tool for convert bitcoin cash legacy addresses";
37     homepage = "https://github.com/oskyk/cashaddress";
38     changelog = "https://github.com/oskyk/cashaddress/releases/tag/${version}";
39     license = licenses.gpl3Only;
40     maintainers = with maintainers; [ fab ];
41   };