nixpkgs/pkgs/development/python-modules/statistics/default.nix
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

29 lines
621 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, docutils
}:
buildPythonPackage rec {
pname = "statistics";
version = "1.0.3.5";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "2dc379b80b07bf2ddd5488cad06b2b9531da4dd31edb04dc9ec0dc226486c138";
};
propagatedBuildInputs = [ docutils ];
# statistics package does not have any tests
doCheck = false;
meta = {
description = "A Python 2.* port of 3.4 Statistics Module";
homepage = "https://github.com/digitalemagine/py-statistics";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ];
};
}