fix: corrected build
This commit is contained in:
parent
5902116fa6
commit
7c77eda853
1 changed files with 48 additions and 43 deletions
23
flake.nix
23
flake.nix
|
@ -3,20 +3,24 @@
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.0.tar.gz";
|
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.0.tar.gz";
|
||||||
flake-utils.url =
|
flake-utils.url = "https://flakehub.com/f/numtide/flake-utils/0.1.85.tar.gz";
|
||||||
"https://flakehub.com/f/numtide/flake-utils/0.1.85.tar.gz";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, flake-utils, ... }:
|
outputs = {
|
||||||
let pythonVersion = "python39";
|
self,
|
||||||
in flake-utils.lib.eachDefaultSystem (system:
|
nixpkgs,
|
||||||
let
|
flake-utils,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
pythonVersion = "python39";
|
||||||
|
in
|
||||||
|
flake-utils.lib.eachDefaultSystem (system: let
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
lib = pkgs.lib;
|
lib = pkgs.lib;
|
||||||
python3Packages = pkgs.python3Packages;
|
python3Packages = pkgs.python3Packages;
|
||||||
fetchPypi = pkgs.fetchPypi;
|
fetchPypi = pkgs.fetchPypi;
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
pkgSrc = pkgs.fetchFromGitHub {
|
||||||
owner = "webcomics";
|
owner = "webcomics";
|
||||||
repo = "dosage";
|
repo = "dosage";
|
||||||
rev = "9163317abadcef0a562afaaf422828b56d006e20";
|
rev = "9163317abadcef0a562afaaf422828b56d006e20";
|
||||||
|
@ -34,9 +38,10 @@
|
||||||
responses
|
responses
|
||||||
];
|
];
|
||||||
|
|
||||||
|
src = pkgSrc;
|
||||||
requirements = "${src}/setup/requirements.txt";
|
requirements = "${src}/setup/requirements.txt";
|
||||||
|
|
||||||
nativeBuildInputs = with python3Packages; [ setuptools-scm ];
|
nativeBuildInputs = with python3Packages; [setuptools-scm];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
colorama
|
colorama
|
||||||
|
@ -50,7 +55,7 @@
|
||||||
description = "A comic strip downloader and archiver";
|
description = "A comic strip downloader and archiver";
|
||||||
homepage = "https://dosage.rocks/";
|
homepage = "https://dosage.rocks/";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with lib.maintainers; [ dmoonfire ];
|
maintainers = with lib.maintainers; [dmoonfire];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue