ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / confection / default.nix
blob82cedc869687dee370dee76d52847a7eb2082e39
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pydantic
5 , pytestCheckHook
6 , pythonOlder
7 , srsly
8 }:
10 buildPythonPackage rec {
11   pname = "confection";
12   version = "0.0.3";
13   format = "setuptools";
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "explosion";
19     repo = pname;
20     rev = "refs/tags/v${version}";
21     hash = "sha256-3qxB94CYCMZN+sKqbmDfkRyAs6HJkFLE/5yJx1DKqYM=";
22   };
24   propagatedBuildInputs = [
25     pydantic
26     srsly
27   ];
29   checkInputs = [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "confection"
35   ];
37   meta = with lib; {
38     description = "Library that offers a configuration system";
39     homepage = "https://github.com/explosion/confection";
40     license = licenses.mit;
41     maintainers = with maintainers; [ fab ];
42   };