fanficfare: 3.1.1 -> 3.6.0

Switch to Python 3 and fetching from Pypi
This commit is contained in:
Jan Tojnar 2018-12-15 23:35:38 -08:00
parent d956f2279b
commit 621c4b8a59
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,19 +1,25 @@
{ stdenv, fetchurl, python27Packages }:
{ stdenv, fetchFromGitHub, python3Packages }:
python27Packages.buildPythonApplication rec {
version = "3.1.1";
name = "fanficfare-${version}";
nameprefix = "";
python3Packages.buildPythonApplication rec {
pname = "FanFicFare";
version = "3.6.0";
src = fetchurl {
url = "https://github.com/JimmXinu/FanFicFare/archive/v${version}.tar.gz";
sha256 = "1wklii24vbvq2vi5pqgp3z4lazcplh2i7r2w4d8lkm6pzbw0s8px";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "1ir3m8wknr8shdbmbpiaw73mdpa7mvidkl6pbs9ca23mgwivxa84";
};
propagatedBuildInputs = with python27Packages; [ beautifulsoup4 chardet html5lib html2text ];
propagatedBuildInputs = with python3Packages; [
beautifulsoup4
chardet
html5lib
html2text
];
doCheck = false; # no tests exist
meta = with stdenv.lib; {
description = "FanFicFare is a tool for making eBooks from fanfiction web sites";
description = "Tool for making eBooks from fanfiction web sites";
homepage = https://github.com/JimmXinu/FanFicFare;
license = licenses.gpl3;
platforms = platforms.linux;