]> git.scottworley.com Git - paperdoorknob/blob - default.nix
Begin
[paperdoorknob] / default.nix
1 { pkgs ? import <nixpkgs> { }, lint ? false }:
2 pkgs.python3Packages.callPackage
3 ({ lib, buildPythonPackage, autopep8, mypy, pylint, }:
4 buildPythonPackage rec {
5 pname = "paperdoorknob";
6 version = "0.0.1";
7 src = lib.cleanSource ./.;
8 nativeCheckInputs = [ mypy ] ++ lib.optionals lint [ autopep8 pylint ];
9 doCheck = true;
10 checkPhase = "./test.sh";
11 meta = {
12 description = "A polite glowfic → printable book scraper.";
13 homepage = "https://git.scottworley.com/paperdoorknob";
14 license = pkgs.lib.licenses.gpl3;
15 maintainers = with pkgs.lib.maintainers; [ chkno ];
16 };
17 }) { }