nixpkgs/pkgs/development/python-modules/leather/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

42 lines
703 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, six
, cssselect
, lxml
, nose
}:
buildPythonPackage rec {
pname = "leather";
version = "0.3.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "b43e21c8fa46b2679de8449f4d953c06418666dc058ce41055ee8a8d3bb40918";
};
propagatedBuildInputs = [ six ];
nativeCheckInputs = [
cssselect
lxml
nose
];
checkPhase = ''
runHook preCheck
nosetests
runHook postCheck
'';
meta = with lib; {
homepage = "http://leather.rtfd.io";
description = "Python charting library";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ vrthra ];
};
}