1{ 2 lib, 3 beautifulsoup4, 4 buildPythonPackage, 5 fetchFromGitHub, 6 python-dateutil, 7 pythonOlder, 8 setuptools, 9 requests, 10}: 11 12buildPythonPackage rec { 13 pname = "socid-extractor"; 14 version = "0.0.27"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.10"; 18 19 src = fetchFromGitHub { 20 owner = "soxoj"; 21 repo = "socid-extractor"; 22 tag = "v${version}"; 23 hash = "sha256-oiXIxNvedEk+EufYzxhvRr8m+kuQRs0J62Yel5JLenQ="; 24 }; 25 26 pythonRelaxDeps = [ "beautifulsoup4" ]; 27 28 build-system = [ setuptools ]; 29 30 dependencies = [ 31 beautifulsoup4 32 python-dateutil 33 requests 34 ]; 35 36 # Test require network access 37 doCheck = false; 38 39 pythonImportsCheck = [ "socid_extractor" ]; 40 41 meta = with lib; { 42 description = "Python module to extract details from personal pages"; 43 homepage = "https://github.com/soxoj/socid-extractor"; 44 changelog = "https://github.com/soxoj/socid-extractor/blob/v${src.tag}/CHANGELOG.md"; 45 license = licenses.gpl3Only; 46 maintainers = with maintainers; [ fab ]; 47 mainProgram = "socid_extractor"; 48 }; 49}