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