evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / whey-pth / default.nix
blobc40292ede641fb47b747a197c1638ab4029c797f
2   buildPythonPackage,
3   fetchPypi,
4   lib,
5   setuptools,
6   dom-toml,
7   whey,
8 }:
9 buildPythonPackage rec {
10   pname = "whey-pth";
11   version = "0.0.6";
12   pyproject = true;
14   src = fetchPypi {
15     inherit pname version;
16     hash = "sha256-CIpgqzNXW3VpS+k6BCpc2DNyqwgt/Af3ms59AH/V5KM=";
17   };
19   build-system = [ setuptools ];
21   dependencies = [
22     dom-toml
23     whey
24   ];
26   postPatch = ''
27     substituteInPlace pyproject.toml \
28       --replace-fail '"setuptools!=61.*,<=67.1.0,>=40.6.0"' '"setuptools"'
29   '';
31   meta = {
32     description = "Extension to whey to support .pth files.";
33     homepage = "https://pypi.org/project/whey-pth";
34     license = lib.licenses.mit;
35     maintainers = with lib.maintainers; [ tyberius-prime ];
36   };