Files
nixpkgs/pkgs/development/python-modules/naturalsort/default.nix
T
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

22 lines
564 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub }:
buildPythonPackage rec {
pname = "naturalsort";
version = "1.5.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "xolox";
repo = "python-naturalsort";
rev = version;
sha256 = "0w43vlddzh97hffnvxp2zkrns9qyirx5g8ijxnxkbx1c4b4gq5ih";
};
meta = with lib; {
description = "Simple natural order sorting API for Python that just works";
homepage = "https://github.com/xolox/python-naturalsort";
license = licenses.mit;
maintainers = with maintainers; [ eyjhb ];
};
}