diff --git a/flake.nix b/flake.nix index dd987cb..cd63ad4 100644 --- a/flake.nix +++ b/flake.nix @@ -19,28 +19,24 @@ lib = pkgs.lib; python3Packages = pkgs.python3Packages; fetchPypi = pkgs.fetchPypi; - - pkgSrc = pkgs.fetchFromGitHub { - owner = "webcomics"; - repo = "dosage"; - rev = "9163317abadcef0a562afaaf422828b56d006e20"; - hash = "sha256-t5HxvXCFPNG5K1uDtfIxDo6JV921ywY1Eznj7GoSh44="; - }; in rec { defaultPackage = python3Packages.buildPythonApplication rec { pname = "dosage"; version = "3.1.dev104+g9e05fae304"; format = "pyproject"; + src = builtins.fetchGit { + url = "https://src.mfgames.com/dmoonfire/dosage.git"; + ref = "main"; + rev = "89afdb37d74c64569e60c11ac2a9fdbb8a1fc0ff"; + }; + nativeCheckInputs = with python3Packages; [ pytestCheckHook pytest-xdist responses ]; - src = pkgSrc; - requirements = "${src}/setup/requirements.txt"; - nativeBuildInputs = with python3Packages; [setuptools-scm]; propagatedBuildInputs = with python3Packages; [