diff --git a/pkgs/development/python-modules/weasel/default.nix b/pkgs/development/python-modules/weasel/default.nix index bf01bbf033d2..ab2f3c730ea5 100644 --- a/pkgs/development/python-modules/weasel/default.nix +++ b/pkgs/development/python-modules/weasel/default.nix @@ -1,33 +1,36 @@ { lib, buildPythonPackage, + fetchFromGitHub, + + # build-system + setuptools, + + # dependencies cloudpathlib, confection, - fetchFromGitHub, packaging, pydantic, - pytestCheckHook, - pythonOlder, requests, - setuptools, smart-open, srsly, typer, wasabi, + + # tests + pytestCheckHook, }: buildPythonPackage rec { pname = "weasel"; - version = "0.3.4"; + version = "0.4.1"; pyproject = true; - disabled = pythonOlder "3.6"; - src = fetchFromGitHub { owner = "explosion"; repo = "weasel"; rev = "refs/tags/v${version}"; - hash = "sha256-6Ck8R10/YW2Nc6acNk2bzgyqSg+OPqwyJjhUgXP/umw="; + hash = "sha256-gXPHEoEY0qKcpAtqHlUw5c43/6hKseCx+vBNzEXFF2A="; }; pythonRelaxDeps = [ @@ -36,11 +39,11 @@ buildPythonPackage rec { "typer" ]; - nativeBuildInputs = [ + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ cloudpathlib confection packaging @@ -54,19 +57,23 @@ buildPythonPackage rec { pythonImportsCheck = [ "weasel" ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + ]; disabledTests = [ # This test requires internet access "test_project_assets" + "test_project_git_dir_asset" + "test_project_git_file_asset" ]; - meta = with lib; { + meta = { description = "Small and easy workflow system"; mainProgram = "weasel"; homepage = "https://github.com/explosion/weasel/"; changelog = "https://github.com/explosion/weasel/releases/tag/v${version}"; - license = licenses.mit; - maintainers = with maintainers; [ GaetanLepage ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ GaetanLepage ]; }; }