Unverified Commit e53c4a5c authored by ocfox's avatar ocfox
Browse files

dosage: 2.17 -> 3.0

fix build
parent fbdb99df
Loading
Loading
Loading
Loading
+15 −5
Original line number Diff line number Diff line
@@ -2,21 +2,31 @@

python3Packages.buildPythonApplication rec {
  pname = "dosage";
  version = "2.17";
  version = "3.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0vmxgn9wd3j80hp4gr5iq06jrl4gryz5zgfdd2ah30d12sfcfig0";
    sha256 = "sha256-mHV/U9Vqv7fSsLYNrCXckkJ1YpsccLd8HsJ78IwLX0Y=";
  };

  pyproject = true;

  nativeCheckInputs = with python3Packages; [
    pytestCheckHook pytest-xdist responses
  ];

  nativeBuildInputs = with python3Packages; [ setuptools-scm ];
  build-system = [ python3Packages.setuptools-scm ];

  dependencies = with python3Packages; [
    colorama imagesize lxml requests six platformdirs
  ];

  propagatedBuildInputs = with python3Packages; [
    colorama imagesize lxml requests setuptools six
  disabledTests = [
    # need network connect to api.github.com
    "test_update_available"
    "test_no_update_available"
    "test_update_broken"
    "test_current"
  ];

  meta = {