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