diff --git a/entsoe-apy.nix b/entsoe-apy.nix deleted file mode 100644 index 751f2cd..0000000 --- a/entsoe-apy.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - setuptools, - pytestCheckHook, - httpx, - loguru, - xsdata-pydantic, -}: - -buildPythonPackage rec { - pname = "entsoe-apy"; - version = "0.4.0"; - - src = fetchFromGitHub { - owner = "berrij"; - repo = "entsoe-apy"; - rev = "cb4ebd4ed401268e605b5267347e0e934d048883"; - hash = "sha256-M0W0r7ApJKG0wMczC0kp/jNOa+PcgVGadvEOSQ2hRkU="; - }; - - pyproject = true; - build-system = [ setuptools ]; - - dependencies = [ - httpx - loguru - xsdata-pydantic - ]; - - nativeCheckInputs = [ pytestCheckHook ]; - - pythonImportsCheck = [ - "entsoe" - ]; - - meta = { - description = "Python Package to Query the ENTSO-E API"; - homepage = "https://github.com/berrij/entsoe-apy"; - license = lib.licenses.gpl3Only; - maintainers = with lib.maintainers; [ berrij ]; - platforms = lib.platforms.all; - }; -} diff --git a/xsdata-pydantic.nix b/xsdata-pydantic.nix deleted file mode 100644 index b95701a..0000000 --- a/xsdata-pydantic.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - setuptools, - xsdata, - pydantic, -}: - -buildPythonPackage rec { - pname = "xsdata-pydantic"; - version = "24.5"; - pyproject = true; - - src = fetchFromGitHub { - owner = "tefra"; - repo = "xsdata-pydantic"; - tag = "v${version}"; - hash = "sha256-ExgAXQRNfGQRSZdMuWc8ldJPqz+3c4Imgu75KXLXHNk="; - }; - - build-system = [ setuptools ]; - - dependencies = [ - xsdata - pydantic - ]; - - pythonImportsCheck = [ - "xsdata_pydantic" - ]; - - meta = { - description = "Naive XML & JSON Bindings for python pydantic classes!"; - homepage = "https://github.com/tefra/xsdata-pydantic"; - maintainers = with lib.maintainers; [ berrij ]; - license = lib.licenses.mit; - platforms = lib.platforms.all; - }; -}