nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 50 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 6 # build-system 7 setuptools, 8 9 # dependencies 10 haversine, 11 python-dateutil, 12 requests, 13 xmltodict, 14 15 # testing 16 pytestCheckHook, 17}: 18 19buildPythonPackage rec { 20 pname = "georss-client"; 21 version = "0.19"; 22 pyproject = true; 23 src = fetchFromGitHub { 24 owner = "exxamalte"; 25 repo = "python-georss-client"; 26 tag = "v${version}"; 27 hash = "sha256-+CmauNb+5mDbZXQCd8ZxZCz6FSfEPAnktkMjvQueiO0="; 28 }; 29 30 build-system = [ setuptools ]; 31 32 dependencies = [ 33 haversine 34 python-dateutil 35 requests 36 xmltodict 37 ]; 38 39 nativeCheckInputs = [ pytestCheckHook ]; 40 41 pythonImportsCheck = [ "georss_client" ]; 42 43 meta = { 44 description = "Python library for accessing GeoRSS feeds"; 45 homepage = "https://github.com/exxamalte/python-georss-client"; 46 changelog = "https://github.com/exxamalte/python-georss-client/releases/tag/${src.tag}"; 47 license = with lib.licenses; [ asl20 ]; 48 maintainers = with lib.maintainers; [ fab ]; 49 }; 50}