lol
1{ lib, python3Packages }:
2
3with python3Packages;
4
5buildPythonApplication rec {
6 pname = "cum";
7 version = "0.9.1";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "15qc6agka2g3kcnpnz0hbjic1s3260cr9bda0rlcyninxs1vndq0";
12 };
13
14 propagatedBuildInputs = [
15 alembic beautifulsoup4 click natsort requests sqlalchemy
16 ];
17
18 # tests seem to fail for `config` not being defined,
19 # but it works once installed
20 doCheck = false;
21
22 # remove the top-level `tests` and `LICENSE` file
23 # they should not be installed, and there can be issues if another package
24 # has a collision (especially with the license file)
25 postInstall = ''
26 rm -rf $out/tests $out/LICENSE
27 '';
28
29 meta = with lib; {
30 description = "comic updater, mangafied";
31 homepage = "https://github.com/Hamuko/cum";
32 license = licenses.asl20;
33 maintainers = with maintainers; [ tadeokondrak ];
34 platforms = platforms.all;
35 };
36}