Loading pkgs/development/python-modules/datastar-py/default.nix 0 → 100644 +40 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchFromGitHub, hatchling, lib, pytestCheckHook, }: buildPythonPackage (finalAttrs: { pname = "datastar-py"; version = "1.0.0"; pyproject = true; src = fetchFromGitHub { owner = "starfederation"; repo = "datastar-python"; tag = "v${finalAttrs.version}"; hash = "sha256-79pdSzHwkF8JX3rF5PIEvx//rKRvX3H1B2382Wfbm9U="; }; build-system = [ hatchling ]; pythonImportsCheck = [ "datastar_py" ]; nativeCheckInputs = [ pytestCheckHook ]; # tests were only added after 1.0.0 # TODO enable after update doCheck = false; meta = { changelog = "https://github.com/starfederation/datastar-python/releases/tag/${finalAttrs.src.tag}"; description = "Helper functions and classes for the Datastar library"; homepage = "https://github.com/starfederation/datastar-python"; license = lib.licenses.mit; maintainers = [ lib.maintainers.dotlambda ]; }; }) pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -3650,6 +3650,8 @@ self: super: with self; { datasketch = callPackage ../development/python-modules/datasketch { }; datastar-py = callPackage ../development/python-modules/datastar-py { }; datauri = callPackage ../development/python-modules/datauri { }; datefinder = callPackage ../development/python-modules/datefinder { }; Loading Loading
pkgs/development/python-modules/datastar-py/default.nix 0 → 100644 +40 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchFromGitHub, hatchling, lib, pytestCheckHook, }: buildPythonPackage (finalAttrs: { pname = "datastar-py"; version = "1.0.0"; pyproject = true; src = fetchFromGitHub { owner = "starfederation"; repo = "datastar-python"; tag = "v${finalAttrs.version}"; hash = "sha256-79pdSzHwkF8JX3rF5PIEvx//rKRvX3H1B2382Wfbm9U="; }; build-system = [ hatchling ]; pythonImportsCheck = [ "datastar_py" ]; nativeCheckInputs = [ pytestCheckHook ]; # tests were only added after 1.0.0 # TODO enable after update doCheck = false; meta = { changelog = "https://github.com/starfederation/datastar-python/releases/tag/${finalAttrs.src.tag}"; description = "Helper functions and classes for the Datastar library"; homepage = "https://github.com/starfederation/datastar-python"; license = lib.licenses.mit; maintainers = [ lib.maintainers.dotlambda ]; }; })
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -3650,6 +3650,8 @@ self: super: with self; { datasketch = callPackage ../development/python-modules/datasketch { }; datastar-py = callPackage ../development/python-modules/datastar-py { }; datauri = callPackage ../development/python-modules/datauri { }; datefinder = callPackage ../development/python-modules/datefinder { }; Loading