Unverified Commit 356189a6 authored by natsukium's avatar natsukium
Browse files

devpi-server: refactor

- add meta.changelog
- use a new parameter for pyproject
- add pythonImportsCheck
parent 71fd1bd7
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
buildPythonApplication rec {
  pname = "devpi-server";
  version = "6.7.0";
  format = "setuptools";
  pyproject = true;

  disabled = isPy27;

@@ -43,6 +43,10 @@ buildPythonApplication rec {
      --replace "--flake8" ""
  '';

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    aiohttp
    appdirs
@@ -91,9 +95,14 @@ buildPythonApplication rec {

  __darwinAllowLocalNetworking = true;

  pythonImportsCheck = [
    "devpi_server"
  ];

  meta = with lib;{
    homepage = "http://doc.devpi.net";
    description = "Github-style pypi index server and packaging meta tool";
    changelog = "https://github.com/devpi/devpi/blob/${src.rev}/server/CHANGELOG";
    license = licenses.mit;
    maintainers = with maintainers; [ makefu ];
  };