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

27 lines
613 B
Nix

{ lib
, buildPythonPackage
, fetchurl
, glibcLocales
}:
buildPythonPackage rec {
pname = "rpmfluff";
version = "0.5.7.1";
format = "setuptools";
src = fetchurl {
url = "https://releases.pagure.org/${pname}/${pname}-${version}.tar.xz";
sha256 = "19vnlzma8b0aghdiixk0q3wc10y6306hsnic0qvswaaiki94fss1";
};
LC_ALL="en_US.utf-8";
buildInputs = [ glibcLocales ];
meta = with lib; {
description = "lightweight way of building RPMs, and sabotaging them";
homepage = "https://pagure.io/rpmfluff";
license = licenses.gpl2;
maintainers = with maintainers; [ disassembler ];
};
}