Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / devpi-common / default.nix
blob203983a2289669155662f1e94cd4d427c41caec2
1 { lib, buildPythonPackage, fetchPypi
2 , pythonOlder
3 , setuptools
4 , setuptools-changelog-shortener
5 , requests
6 , pytestCheckHook
7 , lazy
8 }:
10 buildPythonPackage rec {
11   pname = "devpi-common";
12   version = "4.0.2";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-LSd3AfrwXUpvbL234ED5PAoAKG2+h9XAou6uuiBVkZw=";
20   };
22   nativeBuildInputs = [
23     setuptools
24     setuptools-changelog-shortener
25   ];
27   propagatedBuildInputs = [
28     requests
29     lazy
30   ];
32   nativeCheckInputs = [
33     pytestCheckHook
34   ];
36   pythonImportsCheck = [
37     "devpi_common"
38   ];
40   meta = with lib; {
41     homepage = "https://github.com/devpi/devpi";
42     description = "Utilities jointly used by devpi-server and devpi-client";
43     changelog = "https://github.com/devpi/devpi/blob/common-${version}/common/CHANGELOG";
44     license = licenses.mit;
45     maintainers = with maintainers; [ lewo makefu ];
46   };