Files
nixpkgs/pkgs/development/python-modules/cligj/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

38 lines
641 B
Nix

{
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 = {
description = "Click params for command line interfaces to GeoJSON";
homepage = "https://github.com/mapbox/cligj";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}