{ description = "A comic strip downloader and archiver"; inputs = { nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/*.tar.gz"; flake-utils.url = "https://flakehub.com/f/numtide/flake-utils/0.1.85.tar.gz"; }; outputs = { self, nixpkgs, flake-utils, ... }: let pythonVersion = "python39"; in flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; lib = pkgs.lib; python3Packages = pkgs.python3Packages; fetchPypi = pkgs.fetchPypi; in rec { defaultPackage = python3Packages.buildPythonApplication rec { pname = "dosage"; version = "3.0"; format = "pyproject"; src = fetchPypi { inherit pname version; hash = "sha256-mHV/U9Vqv7fSsLYNrCXckkJ1YpsccLd8HsJ78IwLX0Y="; }; nativeCheckInputs = with python3Packages; [ pytestCheckHook pytest-xdist responses ]; nativeBuildInputs = with python3Packages; [ setuptools-scm ]; propagatedBuildInputs = with python3Packages; [ colorama imagesize lxml platformdirs requests ]; meta = { description = "A comic strip downloader and archiver"; homepage = "https://dosage.rocks/"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dmoonfire ]; }; }; formatter = pkgs.alejandra; }); }