stripe-cli: 1.23.3 -> 1.23.5 (#375724)
[NixPkgs.git] / pkgs / development / python-modules / freenub / default.nix
blob6c3702f6bbf2bfe0e0e1dc258165d2eb62906102
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   aiohttp,
7   cbor2,
8   pycryptodomex,
9   busypie,
10   pytest-asyncio,
11   pytest-vcr,
12   pytestCheckHook,
13   requests,
14   pythonOlder,
17 buildPythonPackage rec {
18   pname = "freenub";
19   version = "0.1.0";
20   pyproject = true;
22   disabled = pythonOlder "3.8";
24   src = fetchFromGitHub {
25     owner = "bdraco";
26     repo = "freenub";
27     tag = "v${version}";
28     hash = "sha256-UkW/7KUQ4uCu3cxDSL+kw0gjKjs4KnmxRIOLVP4hwyA=";
29   };
31   postPatch = ''
32     sed -i "/--cov/d" pyproject.toml
33   '';
35   build-system = [ poetry-core ];
37   dependencies = [
38     aiohttp
39     cbor2
40     pycryptodomex
41     requests
42   ];
44   nativeCheckInputs = [
45     busypie
46     pytest-asyncio
47     pytest-vcr
48     pytestCheckHook
49   ];
51   pythonImportsCheck = [ "pubnub" ];
53   meta = with lib; {
54     description = "Fork of pubnub";
55     homepage = "https://github.com/bdraco/freenub";
56     changelog = "https://github.com/bdraco/freenub/blob/${version}/CHANGELOG.md";
57     license = licenses.mit;
58     maintainers = with maintainers; [ fab ];
59   };