Files
nixpkgs/pkgs/development/python-modules/cligj/default.nix
Josef Kemetmüller 767498fefc maintainers: Remove knedlsepp
I haven't been doing much maintenance in the last couple of years
really, so this is long overdue. I still run NixOS on all my computers
and greatly appreciate the time that the *real* maintainers put into it.
❤️
I'm hoping to be able to contribute again at some point down the line.
2024-12-22 13:59:34 +01:00

40 lines
717 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
click,
pytest,
glibcLocales,
}:
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
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; [ ];
};
}