nixpkgs/pkgs/development/python-modules/cligj/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
711 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchFromGitHub
2017-09-05 09:42:53 +02:00
, click, pytest, glibcLocales
2017-09-03 11:02:28 +02:00
}:
buildPythonPackage rec {
pname = "cligj";
2021-06-19 01:50:49 +02:00
version = "0.7.2";
format = "setuptools";
2017-09-03 11:02:28 +02:00
2017-09-05 09:42:53 +02:00
src = fetchFromGitHub {
owner = "mapbox";
repo = "cligj";
rev = version;
hash = "sha256-0f9+I6ozX93Vn0l7+WR0mpddDZymJQ3+Krovt6co22Y=";
2017-09-03 11:02:28 +02:00
};
propagatedBuildInputs = [
click
];
nativeCheckInputs = [ pytest glibcLocales ];
2017-09-05 09:42:53 +02:00
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";
2017-09-03 11:02:28 +02:00
license = licenses.bsd3;
maintainers = with maintainers; [ knedlsepp ];
};
}