evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / confection / default.nix
blob7f255c549ae4198353e98e1462e27bd4978e9837
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pydantic,
6   pytestCheckHook,
7   pythonOlder,
8   srsly,
9 }:
11 buildPythonPackage rec {
12   pname = "confection";
13   version = "0.1.5";
14   format = "setuptools";
16   disabled = pythonOlder "3.8";
18   src = fetchFromGitHub {
19     owner = "explosion";
20     repo = pname;
21     rev = "refs/tags/v${version}";
22     hash = "sha256-1XIo9Hg4whYS1AkFeX8nVnpv+IvnpmyydHYdVYS0xZc=";
23   };
25   propagatedBuildInputs = [
26     pydantic
27     srsly
28   ];
30   nativeCheckInputs = [ pytestCheckHook ];
32   pythonImportsCheck = [ "confection" ];
34   meta = with lib; {
35     description = "Library that offers a configuration system";
36     homepage = "https://github.com/explosion/confection";
37     changelog = "https://github.com/explosion/confection/releases/tag/v${version}";
38     license = licenses.mit;
39     maintainers = with maintainers; [ fab ];
40   };