Loading pkgs/development/python-modules/referencing/default.nix 0 → 100644 +64 −0 Original line number Diff line number Diff line { lib , attrs , buildPythonPackage , fetchFromGitHub , hatch-vcs , hatchling , jsonschema , pytest-subtests , pytestCheckHook , pythonOlder , rpds-py , setuptools-scm }: buildPythonPackage rec { pname = "referencing"; version = "0.29.0"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "python-jsonschema"; repo = "referencing"; rev = "refs/tags/v${version}"; fetchSubmodules = true; hash = "sha256-+wPNPYu2/0gBmHFJ8aAeZ3dFDC7uFV6Ww3RAbri26Mc="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; postPatch = '' sed -i "/Topic/d" pyproject.toml ''; nativeBuildInputs = [ hatch-vcs hatchling setuptools-scm ]; propagatedBuildInputs = [ attrs rpds-py ]; nativeCheckInputs = [ jsonschema pytest-subtests pytestCheckHook ]; pythonImportsCheck = [ "referencing" ]; meta = with lib; { description = "Cross-specification JSON referencing"; homepage = "https://github.com/python-jsonschema/referencing"; changelog = "https://github.com/python-jsonschema/referencing/blob/${version}/CHANGELOG.rst"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; } pkgs/development/python-modules/rpds-py/default.nix 0 → 100644 +51 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , cargo , fetchPypi , pytestCheckHook , pythonOlder , rustc , rustPlatform }: buildPythonPackage rec { pname = "rpds-py"; version = "0.7.1"; format = "pyproject"; disabled = pythonOlder "3.8"; src = fetchPypi { pname = "rpds_py"; inherit version; hash = "sha256-2UC1ZE8U5JscbnkCueyKDHWEEJ+/OA+hgRWDGmQZJ8g="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; hash = "sha256-BAoE0oRQGf5ze/8uAH6gsFP77lPvOvYy8W9iDrqUn3Q="; }; nativeBuildInputs = [ rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook cargo rustc ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "rpds" ]; meta = with lib; { description = "Python bindings to Rust's persistent data structures (rpds"; homepage = "https://pypi.org/project/rpds-py/"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; } pkgs/top-level/python-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -10625,6 +10625,8 @@ self: super: with self; { reedsolo = callPackage ../development/python-modules/reedsolo { }; referencing = callPackage ../development/python-modules/referencing { }; reflink = callPackage ../development/python-modules/reflink { }; regenmaschine = callPackage ../development/python-modules/regenmaschine { }; Loading Loading @@ -10889,6 +10891,8 @@ self: super: with self; { rpdb = callPackage ../development/python-modules/rpdb { }; rpds-py = callPackage ../development/python-modules/rpds-py { }; rpi-bad-power = callPackage ../development/python-modules/rpi-bad-power { }; rpi-gpio = callPackage ../development/python-modules/rpi-gpio { }; Loading Loading
pkgs/development/python-modules/referencing/default.nix 0 → 100644 +64 −0 Original line number Diff line number Diff line { lib , attrs , buildPythonPackage , fetchFromGitHub , hatch-vcs , hatchling , jsonschema , pytest-subtests , pytestCheckHook , pythonOlder , rpds-py , setuptools-scm }: buildPythonPackage rec { pname = "referencing"; version = "0.29.0"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "python-jsonschema"; repo = "referencing"; rev = "refs/tags/v${version}"; fetchSubmodules = true; hash = "sha256-+wPNPYu2/0gBmHFJ8aAeZ3dFDC7uFV6Ww3RAbri26Mc="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; postPatch = '' sed -i "/Topic/d" pyproject.toml ''; nativeBuildInputs = [ hatch-vcs hatchling setuptools-scm ]; propagatedBuildInputs = [ attrs rpds-py ]; nativeCheckInputs = [ jsonschema pytest-subtests pytestCheckHook ]; pythonImportsCheck = [ "referencing" ]; meta = with lib; { description = "Cross-specification JSON referencing"; homepage = "https://github.com/python-jsonschema/referencing"; changelog = "https://github.com/python-jsonschema/referencing/blob/${version}/CHANGELOG.rst"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }
pkgs/development/python-modules/rpds-py/default.nix 0 → 100644 +51 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , cargo , fetchPypi , pytestCheckHook , pythonOlder , rustc , rustPlatform }: buildPythonPackage rec { pname = "rpds-py"; version = "0.7.1"; format = "pyproject"; disabled = pythonOlder "3.8"; src = fetchPypi { pname = "rpds_py"; inherit version; hash = "sha256-2UC1ZE8U5JscbnkCueyKDHWEEJ+/OA+hgRWDGmQZJ8g="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; hash = "sha256-BAoE0oRQGf5ze/8uAH6gsFP77lPvOvYy8W9iDrqUn3Q="; }; nativeBuildInputs = [ rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook cargo rustc ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "rpds" ]; meta = with lib; { description = "Python bindings to Rust's persistent data structures (rpds"; homepage = "https://pypi.org/project/rpds-py/"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }
pkgs/top-level/python-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -10625,6 +10625,8 @@ self: super: with self; { reedsolo = callPackage ../development/python-modules/reedsolo { }; referencing = callPackage ../development/python-modules/referencing { }; reflink = callPackage ../development/python-modules/reflink { }; regenmaschine = callPackage ../development/python-modules/regenmaschine { }; Loading Loading @@ -10889,6 +10891,8 @@ self: super: with self; { rpdb = callPackage ../development/python-modules/rpdb { }; rpds-py = callPackage ../development/python-modules/rpds-py { }; rpi-bad-power = callPackage ../development/python-modules/rpi-bad-power { }; rpi-gpio = callPackage ../development/python-modules/rpi-gpio { }; Loading