at 24.11-pre 727 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 click, 6 pytest, 7 glibcLocales, 8}: 9 10buildPythonPackage rec { 11 pname = "cligj"; 12 version = "0.7.2"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "mapbox"; 17 repo = "cligj"; 18 rev = version; 19 hash = "sha256-0f9+I6ozX93Vn0l7+WR0mpddDZymJQ3+Krovt6co22Y="; 20 }; 21 22 propagatedBuildInputs = [ click ]; 23 24 nativeCheckInputs = [ 25 pytest 26 glibcLocales 27 ]; 28 29 checkPhase = '' 30 LC_ALL=en_US.utf-8 pytest tests 31 ''; 32 33 meta = with lib; { 34 description = "Click params for command line interfaces to GeoJSON"; 35 homepage = "https://github.com/mapbox/cligj"; 36 license = licenses.bsd3; 37 maintainers = with maintainers; [ knedlsepp ]; 38 }; 39}