nixpkgs/pkgs/tools/text/fanficfare/default.nix

24 lines
739 B
Nix
Raw Normal View History

2017-04-13 20:14:19 +00:00
{ stdenv, fetchurl, python27Packages }:
python27Packages.buildPythonApplication rec {
version = "3.1.1";
2017-04-13 20:14:19 +00:00
name = "fanficfare-${version}";
nameprefix = "";
src = fetchurl {
url = "https://github.com/JimmXinu/FanFicFare/archive/v${version}.tar.gz";
sha256 = "1wklii24vbvq2vi5pqgp3z4lazcplh2i7r2w4d8lkm6pzbw0s8px";
2017-04-13 20:14:19 +00:00
};
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;
2017-04-13 20:14:19 +00:00
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ lucas8 ];
inherit version;
};
}