lol

python312Packages.atpublic: 4.1.0 -> 5.0

Diff: https://gitlab.com/warsaw/public/-/compare/refs/tags/4.1.0...5.0

Changelog: https://gitlab.com/warsaw/public/-/blob/5.0/docs/NEWS.rst

authored by

Robert Schütz and committed by
Martin Weinelt
c8dd37a2 7983e66e

+11 -20
+11 -20
pkgs/development/python-modules/atpublic/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 - fetchPypi, 4 + fetchFromGitLab, 5 5 pytestCheckHook, 6 6 pythonOlder, 7 7 hatchling, 8 8 sybil, 9 - typing-extensions, 10 9 }: 11 10 12 11 buildPythonPackage rec { 13 12 pname = "atpublic"; 14 - version = "4.1.0"; 15 - format = "pyproject"; 13 + version = "5.0"; 14 + pyproject = true; 16 15 17 - disabled = pythonOlder "3.6"; 16 + disabled = pythonOlder "3.8"; 18 17 19 - src = fetchPypi { 20 - inherit pname version; 21 - hash = "sha256-0cjNkxr3Rh9tGLxgYzg+hlTZ6e8Z1Y7m3AHoUVu/Vd8="; 18 + src = fetchFromGitLab { 19 + owner = "warsaw"; 20 + repo = "public"; 21 + rev = "refs/tags/${version}"; 22 + hash = "sha256-cqum+4hREu0jO9iFoUUzfzn597BoMAhG+aanwnh8hb8="; 22 23 }; 23 24 24 - nativeBuildInputs = [ hatchling ]; 25 - 26 - propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ typing-extensions ]; 25 + build-system = [ hatchling ]; 27 26 28 27 nativeCheckInputs = [ 29 28 pytestCheckHook 30 29 sybil 31 30 ]; 32 31 33 - pytestFlagsArray = [ 34 - # TypeError: FixtureManager.getfixtureclosure() missing 1 required positional argument: 'ignore_args' 35 - "--ignore=docs/using.rst" 36 - ]; 37 - 38 - postPatch = '' 39 - sed -i '/cov=public/d' pyproject.toml 40 - ''; 41 - 42 32 pythonImportsCheck = [ "public" ]; 43 33 44 34 meta = with lib; { 35 + changelog = "https://gitlab.com/warsaw/public/-/blob/${version}/docs/NEWS.rst"; 45 36 description = "Python decorator and function which populates a module's __all__ and globals"; 46 37 homepage = "https://public.readthedocs.io/"; 47 38 longDescription = ''