Skip to content

Commit ca66257

Browse files
committed
python3Packages.irisclient: init 1.2.0
1 parent cb106a1 commit ca66257

File tree

2 files changed

+45
-2
lines changed

2 files changed

+45
-2
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
setuptools,
5+
fetchFromGitHub,
6+
requests,
7+
pytestCheckHook,
8+
httmock,
9+
pytest-mock,
10+
}:
11+
12+
buildPythonPackage rec {
13+
pname = "irisclient";
14+
version = "1.2.0";
15+
pyproject = true;
16+
17+
src = fetchFromGitHub {
18+
owner = "houqp";
19+
repo = "iris-python-client";
20+
tag = "v${version}";
21+
hash = "sha256-fXMw2BopkEqjklR6jr7QQIZyxLq6NHKm2rHwTCbtxR0=";
22+
};
23+
24+
build-system = [ setuptools ];
25+
26+
dependencies = [ requests ];
27+
28+
checkInputs = [
29+
httmock
30+
pytestCheckHook
31+
pytest-mock
32+
];
33+
34+
pythonImportsCheck = [ "irisclient" ];
35+
36+
meta = {
37+
description = "Python client for Iris REST api";
38+
changelog = "https://github.com/houqp/iris-python-client/blob/v${src.tag}/HISTORY.rst";
39+
homepage = "https://github.com/houqp/iris-python-client";
40+
license = lib.licenses.bsd2;
41+
maintainers = with lib.maintainers; [ onny ];
42+
};
43+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4757,8 +4757,6 @@ self: super: with self; {
47574757
callPackage ../development/python-modules/faraday-agent-parameters-types
47584758
{ };
47594759

4760-
falcon-cors = callPackage ../development/python-modules/falcon-cors { };
4761-
47624760
faraday-plugins = callPackage ../development/python-modules/faraday-plugins { };
47634761

47644762
farama-notifications = callPackage ../development/python-modules/farama-notifications { };
@@ -6893,6 +6891,8 @@ self: super: with self; {
68936891

68946892
irctokens = callPackage ../development/python-modules/irctokens { };
68956893

6894+
irisclient = callPackage ../development/python-modules/irisclient { };
6895+
68966896
isal = callPackage ../development/python-modules/isal { };
68976897

68986898
isbnlib = callPackage ../development/python-modules/isbnlib { };

0 commit comments

Comments
 (0)