Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 50 lines 950 B view raw
1{ 2 lib, 3 python3Packages, 4 fetchPypi, 5}: 6 7python3Packages.buildPythonApplication rec { 8 pname = "dosage"; 9 version = "3.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "sha256-mHV/U9Vqv7fSsLYNrCXckkJ1YpsccLd8HsJ78IwLX0Y="; 14 }; 15 16 pyproject = true; 17 18 nativeCheckInputs = with python3Packages; [ 19 pytestCheckHook 20 pytest-xdist 21 responses 22 ]; 23 24 build-system = [ python3Packages.setuptools-scm ]; 25 26 dependencies = with python3Packages; [ 27 colorama 28 imagesize 29 lxml 30 requests 31 six 32 platformdirs 33 ]; 34 35 disabledTests = [ 36 # need network connect to api.github.com 37 "test_update_available" 38 "test_no_update_available" 39 "test_update_broken" 40 "test_current" 41 ]; 42 43 meta = { 44 description = "Comic strip downloader and archiver"; 45 mainProgram = "dosage"; 46 homepage = "https://dosage.rocks/"; 47 license = lib.licenses.mit; 48 maintainers = with lib.maintainers; [ toonn ]; 49 }; 50}