feat: updated to latest version
This commit is contained in:
parent
858dee7d60
commit
f802c10a3c
2 changed files with 9 additions and 8 deletions
1
.envrc
1
.envrc
|
@ -1,2 +1 @@
|
||||||
nix_direnv_watch_file requirements.txt
|
|
||||||
use flake || use nix
|
use flake || use nix
|
||||||
|
|
16
flake.nix
16
flake.nix
|
@ -15,25 +15,27 @@
|
||||||
lib = pkgs.lib;
|
lib = pkgs.lib;
|
||||||
python3Packages = pkgs.python3Packages;
|
python3Packages = pkgs.python3Packages;
|
||||||
fetchPypi = pkgs.fetchPypi;
|
fetchPypi = pkgs.fetchPypi;
|
||||||
|
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "webcomics";
|
||||||
|
repo = "dosage";
|
||||||
|
rev = "9163317abadcef0a562afaaf422828b56d006e20";
|
||||||
|
hash = "sha256-t5HxvXCFPNG5K1uDtfIxDo6JV921ywY1Eznj7GoSh44=";
|
||||||
|
};
|
||||||
in rec {
|
in rec {
|
||||||
defaultPackage = python3Packages.buildPythonApplication rec {
|
defaultPackage = python3Packages.buildPythonApplication rec {
|
||||||
pname = "dosage";
|
pname = "dosage";
|
||||||
version = "3.1.dev104+g9e05fae304";
|
version = "3.1.dev104+g9e05fae304";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "webcomics";
|
|
||||||
repo = "dosage";
|
|
||||||
rev = "9e05fae3041f0b20260d253b9964aed53fb3932e";
|
|
||||||
hash = "sha256-91lVAc6Mkeot3T12MAl7v9v4huMWD+0O18b3Hjd4Bkw=";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeCheckInputs = with python3Packages; [
|
nativeCheckInputs = with python3Packages; [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
responses
|
responses
|
||||||
];
|
];
|
||||||
|
|
||||||
|
requirements = "${src}/setup/requirements.txt";
|
||||||
|
|
||||||
nativeBuildInputs = with python3Packages; [ setuptools-scm ];
|
nativeBuildInputs = with python3Packages; [ setuptools-scm ];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
|
|
Loading…
Reference in a new issue