evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / dist-meta / default.nix
bloba6d6119429c59ad883fd31645269e308f7062865
2   buildPythonPackage,
3   fetchPypi,
4   lib,
5   setuptools,
6   domdf-python-tools,
7   handy-archives,
8   packaging,
9 }:
10 buildPythonPackage rec {
11   pname = "dist-meta";
12   version = "0.8.1";
13   pyproject = true;
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-5zuHOwg2GDXiVZLU10Ep8DU7ykRR3RK/oQqvFK9GguQ=";
18   };
20   build-system = [ setuptools ];
22   dependencies = [
23     domdf-python-tools
24     handy-archives
25     packaging
26   ];
28   postPatch = ''
29     substituteInPlace pyproject.toml \
30       --replace-fail '"setuptools!=61.*,<=67.1.0,>=40.6.0"' '"setuptools"'
31   '';
33   meta = {
34     description = "Parse and create Python distribution metadata.";
35     homepage = "https://github.com/repo-helper/dist-meta";
36     license = lib.licenses.mit;
37     maintainers = with lib.maintainers; [ tyberius-prime ];
38   };