Loading pkgs/development/python-modules/json-api-doc/default.nix 0 → 100644 +42 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook, pythonOlder, }: buildPythonPackage rec { pname = "json-api-doc"; version = "0.15.0"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "julien-duponchelle"; repo = "json-api-doc"; tag = "v${version}"; hash = "sha256-r6XduJ2GIr2hGen6hoNIdE3yqPzHJ9xAFOSbMgErsNA="; }; postPatch = '' substituteInPlace setup.py \ --replace-fail "'pytest-runner'," "" ''; build-system = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "json_api_doc" ]; meta = { description = "JSON API parser returning a simple Python dictionary"; homepage = "https://github.com/julien-duponchelle/json-api-doc"; changelog = "https://github.com/julien-duponchelle/json-api-doc/releases/tag/v${version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; } pkgs/development/python-modules/pyflick/default.nix +26 −16 Original line number Diff line number Diff line { lib, buildPythonPackage, pythonOlder, fetchPypi, aiohttp, buildPythonPackage, fetchFromGitHub, json-api-doc, python-dateutil, setuptools-scm, setuptools, }: buildPythonPackage rec { pname = "pyflick"; version = "0.0.2"; format = "setuptools"; disabled = pythonOlder "3.6"; pname = "py-flick"; version = "1.1.2"; pyproject = true; src = fetchPypi { pname = "PyFlick"; inherit version; sha256 = "705c82d8caedfff19117c8859cc1b4f56e15ab8dbc0d64d63b79d8634007897f"; src = fetchFromGitHub { owner = "ZephireNZ"; repo = "PyFlick"; tag = "v${version}"; hash = "sha256-Csm5gXMIGEhHgzN/7sO/1iM/wZklI2Jc0C69tgYWxnQ="; }; propagatedBuildInputs = [ pythonRelaxDeps = [ "aiohttp" ]; build-system = [ setuptools setuptools-scm ]; dependencies = [ aiohttp json-api-doc python-dateutil ]; Loading @@ -33,10 +42,11 @@ buildPythonPackage rec { "pyflick.authentication" ]; meta = with lib; { meta = { description = "Python API For Flick Electric in New Zealand"; homepage = "https://github.com/ZephireNZ/PyFlick"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; changelog = "https://github.com/ZephireNZ/PyFlick/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -6697,6 +6697,8 @@ self: super: with self; { jsonlines = callPackage ../development/python-modules/jsonlines { }; json-api-doc = callPackage ../development/python-modules/json-api-doc { }; json-logging = callPackage ../development/python-modules/json-logging { }; jsonmerge = callPackage ../development/python-modules/jsonmerge { }; Loading Loading
pkgs/development/python-modules/json-api-doc/default.nix 0 → 100644 +42 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook, pythonOlder, }: buildPythonPackage rec { pname = "json-api-doc"; version = "0.15.0"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "julien-duponchelle"; repo = "json-api-doc"; tag = "v${version}"; hash = "sha256-r6XduJ2GIr2hGen6hoNIdE3yqPzHJ9xAFOSbMgErsNA="; }; postPatch = '' substituteInPlace setup.py \ --replace-fail "'pytest-runner'," "" ''; build-system = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "json_api_doc" ]; meta = { description = "JSON API parser returning a simple Python dictionary"; homepage = "https://github.com/julien-duponchelle/json-api-doc"; changelog = "https://github.com/julien-duponchelle/json-api-doc/releases/tag/v${version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; }
pkgs/development/python-modules/pyflick/default.nix +26 −16 Original line number Diff line number Diff line { lib, buildPythonPackage, pythonOlder, fetchPypi, aiohttp, buildPythonPackage, fetchFromGitHub, json-api-doc, python-dateutil, setuptools-scm, setuptools, }: buildPythonPackage rec { pname = "pyflick"; version = "0.0.2"; format = "setuptools"; disabled = pythonOlder "3.6"; pname = "py-flick"; version = "1.1.2"; pyproject = true; src = fetchPypi { pname = "PyFlick"; inherit version; sha256 = "705c82d8caedfff19117c8859cc1b4f56e15ab8dbc0d64d63b79d8634007897f"; src = fetchFromGitHub { owner = "ZephireNZ"; repo = "PyFlick"; tag = "v${version}"; hash = "sha256-Csm5gXMIGEhHgzN/7sO/1iM/wZklI2Jc0C69tgYWxnQ="; }; propagatedBuildInputs = [ pythonRelaxDeps = [ "aiohttp" ]; build-system = [ setuptools setuptools-scm ]; dependencies = [ aiohttp json-api-doc python-dateutil ]; Loading @@ -33,10 +42,11 @@ buildPythonPackage rec { "pyflick.authentication" ]; meta = with lib; { meta = { description = "Python API For Flick Electric in New Zealand"; homepage = "https://github.com/ZephireNZ/PyFlick"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; changelog = "https://github.com/ZephireNZ/PyFlick/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -6697,6 +6697,8 @@ self: super: with self; { jsonlines = callPackage ../development/python-modules/jsonlines { }; json-api-doc = callPackage ../development/python-modules/json-api-doc { }; json-logging = callPackage ../development/python-modules/json-logging { }; jsonmerge = callPackage ../development/python-modules/jsonmerge { }; Loading