Files
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.

38 lines
647 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildPythonPackage,
fetchFromGitHub,
click,
pytest,
}:
buildPythonPackage rec {
pname = "cligj";
version = "0.7.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "mapbox";
repo = "cligj";
rev = version;
hash = "sha256-0f9+I6ozX93Vn0l7+WR0mpddDZymJQ3+Krovt6co22Y=";
};
propagatedBuildInputs = [ click ];
nativeCheckInputs = [
pytest
];
checkPhase = ''
pytest tests
'';
meta = with lib; {
description = "Click params for command line interfaces to GeoJSON";
homepage = "https://github.com/mapbox/cligj";
license = licenses.bsd3;
maintainers = [ ];
};
}