python312Packages.py2bit: 0.3.0 -> 0.3.3 (#371196)

authored by Nick Cao and committed by GitHub 0e548c07 ad4373ce

+20 -9
+20 -9
pkgs/development/python-modules/py2bit/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchPypi, 5 - pytest, 5 + pytestCheckHook, 6 + setuptools, 7 + setuptools-scm, 6 8 }: 7 9 8 10 buildPythonPackage rec { 9 11 pname = "py2bit"; 10 - version = "0.3.0"; 11 - format = "setuptools"; 12 - 13 - checkInput = [ pytest ]; 12 + version = "0.3.3"; 13 + pyproject = true; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "1vw2nvw1yrl7ikkqsqs1pg239yr5nspvd969r1x9arms1k25a1a5"; 17 + hash = "sha256-Jk9b/DnXKfGsrVTHYKwE+oog1BhPS1BdnDM9LgMlN3A="; 18 18 }; 19 19 20 - meta = with lib; { 20 + build-system = [ 21 + setuptools 22 + setuptools-scm 23 + ]; 24 + 25 + nativeCheckInputs = [ 26 + pytestCheckHook 27 + ]; 28 + 29 + pytestFlagsArray = [ "py2bitTest/test.py" ]; 30 + 31 + meta = { 21 32 homepage = "https://github.com/deeptools/py2bit"; 22 33 description = "File access to 2bit files"; 23 34 longDescription = '' 24 35 A python extension, written in C, for quick access to 2bit files. The extension uses lib2bit for file access. 25 36 ''; 26 - license = licenses.mit; 27 - maintainers = with maintainers; [ scalavision ]; 37 + license = lib.licenses.mit; 38 + maintainers = with lib.maintainers; [ scalavision ]; 28 39 }; 29 40 }