Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyscaffoldext-travis / default.nix
blob3d5ba4aa33e0bbbef8149421cad0dd0e9260e71f
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , setuptools
5 , setuptools-scm
6 , wheel
7 , importlib-metadata
8 , pyscaffold
9 , configupdater
10 , pre-commit
11 , pytest
12 , pytest-cov
13 , pytest-xdist
14 , tox
15 , virtualenv
18 buildPythonPackage rec {
19   pname = "pyscaffoldext-travis";
20   version = "0.3";
21   pyproject = true;
23   src = fetchPypi {
24     inherit pname version;
25     hash = "sha256-ztAhA/2ctCHz5kggOAaXd3ed903ClTlhCfaGTl344zI=";
26   };
28   nativeBuildInputs = [
29     setuptools
30     setuptools-scm
31     wheel
32   ];
34   propagatedBuildInputs = [
35     importlib-metadata
36     pyscaffold
37   ];
39   passthru.optional-dependencies = {
40     testing = [
41       configupdater
42       pre-commit
43       pytest
44       pytest-cov
45       pytest-xdist
46       setuptools-scm
47       tox
48       virtualenv
49     ];
50   };
52   pythonImportsCheck = [ "pyscaffoldext.travis" ];
54   meta = with lib; {
55     description = "Travis CI configurations for PyScaffold";
56     homepage = "https://pypi.org/project/pyscaffoldext-travis/";
57     license = licenses.mit;
58     maintainers = with maintainers; [ matthewcroughan ];
59   };