Loading pkgs/development/python-modules/model-bakery/default.nix +15 −20 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , hatchling , django , pytestCheckHook , pythonOlder , pytest-django { lib, buildPythonPackage, fetchFromGitHub, hatchling, django, pytestCheckHook, pythonOlder, pytest-django, }: buildPythonPackage rec { pname = "model-bakery"; version = "1.17.0"; format = "pyproject"; version = "1.18.0"; pyproject = true; disabled = pythonOlder "3.8"; Loading @@ -19,25 +20,19 @@ buildPythonPackage rec { owner = "model-bakers"; repo = "model_bakery"; rev = "refs/tags/${version}"; hash = "sha256-o3BI2lMwctR9tiGmY07dAOQUfv9K4rWkc/xI6uHnVfs="; hash = "sha256-mf6NV7r/9kDCRlszx/QGtfEsC1O/SATd6+EX+w7ptEQ="; }; nativeBuildInputs = [ hatchling ]; build-system = [ hatchling ]; propagatedBuildInputs = [ django ]; dependencies = [ django ]; nativeCheckInputs = [ pytest-django pytestCheckHook ]; pythonImportsCheck = [ "model_bakery" ]; pythonImportsCheck = [ "model_bakery" ]; meta = with lib; { description = "Object factory for Django"; Loading Loading
pkgs/development/python-modules/model-bakery/default.nix +15 −20 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , hatchling , django , pytestCheckHook , pythonOlder , pytest-django { lib, buildPythonPackage, fetchFromGitHub, hatchling, django, pytestCheckHook, pythonOlder, pytest-django, }: buildPythonPackage rec { pname = "model-bakery"; version = "1.17.0"; format = "pyproject"; version = "1.18.0"; pyproject = true; disabled = pythonOlder "3.8"; Loading @@ -19,25 +20,19 @@ buildPythonPackage rec { owner = "model-bakers"; repo = "model_bakery"; rev = "refs/tags/${version}"; hash = "sha256-o3BI2lMwctR9tiGmY07dAOQUfv9K4rWkc/xI6uHnVfs="; hash = "sha256-mf6NV7r/9kDCRlszx/QGtfEsC1O/SATd6+EX+w7ptEQ="; }; nativeBuildInputs = [ hatchling ]; build-system = [ hatchling ]; propagatedBuildInputs = [ django ]; dependencies = [ django ]; nativeCheckInputs = [ pytest-django pytestCheckHook ]; pythonImportsCheck = [ "model_bakery" ]; pythonImportsCheck = [ "model_bakery" ]; meta = with lib; { description = "Object factory for Django"; Loading