diff --git a/pkgs/tools/text/fanficfare/default.nix b/pkgs/tools/text/fanficfare/default.nix new file mode 100644 index 000000000000..38eadf40ae37 --- /dev/null +++ b/pkgs/tools/text/fanficfare/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl, python27Packages }: + +python27Packages.buildPythonApplication rec { + version = "2.9.0"; + name = "fanficfare-${version}"; + nameprefix = ""; + + src = fetchurl { + url = "https://github.com/JimmXinu/FanFicFare/archive/v${version}.tar.gz"; + sha256 = "781e9095d8152345a6106135e87c46eb306ff234b847de5073faca2f78544398"; + }; + + propagatedBuildInputs = with python27Packages; [ beautifulsoup4 chardet html5lib html2text ]; + + meta = with stdenv.lib; { + description = "FanFicFare is a tool for making eBooks from fanfiction web sites"; + homepage = "https://github.com/JimmXinu/FanFicFare"; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ lucas8 ]; + inherit version; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 85557b15e3d2..ffc1b066d844 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1717,6 +1717,8 @@ with pkgs; pillow; }; + fanficfare = callPackage ../tools/text/fanficfare { }; + fastd = callPackage ../tools/networking/fastd { }; fatsort = callPackage ../tools/filesystems/fatsort { };