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

33 lines
613 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, latexcodec
, pyyaml
, setuptools
}:
buildPythonPackage rec {
version = "0.24.0";
format = "setuptools";
pname = "pybtex";
doCheck = false;
pythonImportsCheck = [ "pybtex" ];
propagatedBuildInputs = [
latexcodec
pyyaml
setuptools
];
src = fetchPypi {
inherit version pname;
sha256 = "818eae35b61733e5c007c3fcd2cfb75ed1bc8b4173c1f70b56cc4c0802d34755";
};
meta = with lib; {
homepage = "https://pybtex.org/";
description = "A BibTeX-compatible bibliography processor written in Python";
license = licenses.mit;
};
}