mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
33 lines
684 B
Nix
33 lines
684 B
Nix
{ lib, buildPythonPackage, fetchFromGitHub
|
|
, click, pytest, glibcLocales
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cligj";
|
|
version = "0.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mapbox";
|
|
repo = "cligj";
|
|
rev = version;
|
|
sha256 = "13vlibbn86dhh6iy8k831vsa249746jnk419wcr9vvr3pqxml6g2";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
click
|
|
];
|
|
|
|
checkInputs = [ pytest glibcLocales ];
|
|
|
|
checkPhase = ''
|
|
LC_ALL=en_US.utf-8 pytest tests
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Click params for commmand line interfaces to GeoJSON";
|
|
homepage = "https://github.com/mapbox/cligj";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ knedlsepp ];
|
|
};
|
|
}
|