evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / generic / default.nix
blobc9bd2b520c3b5812a58cf1515ab40b4b4fd95ace
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchPypi,
6   exceptiongroup,
7   poetry-core,
8 }:
10 buildPythonPackage rec {
11   pname = "generic";
12   version = "1.1.3";
13   disabled = pythonOlder "3.7";
15   format = "pyproject";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-d4+CRv1uecIdS4t23cAI34s/PdIFYNQXfABuRWjzCUQ=";
20   };
22   nativeBuildInputs = [ poetry-core ];
24   propagatedBuildInputs = [ exceptiongroup ];
26   pythonImportsCheck = [ "generic" ];
28   meta = with lib; {
29     description = "Generic programming (Multiple dispatch) library for Python";
30     maintainers = [ ];
31     homepage = "https://github.com/gaphor/generic";
32     changelog = "https://github.com/gaphor/generic/releases/tag/${version}";
33     license = licenses.bsd3;
34   };