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