9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
32 lines
686 B
Nix
32 lines
686 B
Nix
{ lib, buildPythonPackage, fetchFromGitHub
|
|
, click, pytest, glibcLocales
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cligj";
|
|
version = "0.7.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mapbox";
|
|
repo = "cligj";
|
|
rev = version;
|
|
hash = "sha256-0f9+I6ozX93Vn0l7+WR0mpddDZymJQ3+Krovt6co22Y=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
click
|
|
];
|
|
|
|
nativeCheckInputs = [ pytest glibcLocales ];
|
|
|
|
checkPhase = ''
|
|
LC_ALL=en_US.utf-8 pytest tests
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Click params for command line interfaces to GeoJSON";
|
|
homepage = "https://github.com/mapbox/cligj";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ knedlsepp ];
|
|
};
|
|
}
|