1{ lib, buildPythonPackage, fetchPypi, setuptools-scm, pytestCheckHook }: 2 3buildPythonPackage rec { 4 pname = "setuptools-scm-git-archive"; 5 version = "1.4"; 6 7 src = fetchPypi { 8 inherit version; 9 pname = "setuptools_scm_git_archive"; 10 sha256 = "b048b27b32e1e76ec865b0caa4bb85df6ddbf4697d6909f567ac36709f6ef2f0"; 11 }; 12 13 nativeBuildInputs = [ setuptools-scm ]; 14 15 checkInputs = [ pytestCheckHook ]; 16 17 pytestFlagsArray = [ 18 "tests.py" 19 ]; 20 21 pythonImportsCheck = [ "setuptools_scm_git_archive" ]; 22 23 meta = with lib; { 24 description = "setuptools_scm plugin for git archives"; 25 homepage = "https://github.com/Changaco/setuptools_scm_git_archive"; 26 license = licenses.mit; 27 maintainers = [ maintainers.marsam ]; 28 }; 29}