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

37 lines
680 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, jinja2
, setuptools
, rope
, isPy27
}:
buildPythonPackage rec {
pname = "nixpkgs-pytools";
version = "1.3.0";
format = "setuptools";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "11skcbi1lf9qcv9j5ikifb4pakhbbygqpcmv3390j7gxsa85cn19";
};
propagatedBuildInputs = [
jinja2
setuptools
rope
];
# tests require network ..
doCheck = false;
meta = with lib; {
description = "Tools for removing the tedious nature of creating nixpkgs derivations";
homepage = "https://github.com/nix-community/nixpkgs-pytools";
license = licenses.mit;
maintainers = [ ];
};
}