fix: correcting build
This commit is contained in:
parent
7c77eda853
commit
ed4efd07dd
1 changed files with 6 additions and 10 deletions
16
flake.nix
16
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; [
|
||||
|
|
Loading…
Reference in a new issue