8 buildPythonPackage rec {
10 pname = "subdownloader";
13 url = "https://launchpad.net/subdownloader/trunk/2.0.18/+download/subdownloader_2.0.18.orig.tar.gz";
14 sha256 = "0manlfdpb585niw23ibb8n21mindd1bazp0pnxvmdjrp2mnw97ig";
17 propagatedBuildInputs = [ mmpython pyqt4 ];
24 if os.environ.get("NO_SETUPTOOLS"):
26 from setuptools import setup, Extension
30 # Use distutils.core as a fallback.
31 # We won t be able to build the Wheel file on Windows.
32 from distutils.core import setup, Extension
34 with open("README") as fp:
35 long_description = fp.read()
40 "name": "subdownloader",
42 "description": "Tool for automatic download/upload subtitles for videofiles using fast hashing",
43 "long_description": long_description,
44 "url": "http://www.subdownloader.net",
46 "scripts": ["run.py"],
47 "packages": ["cli", "FileManagement", "gui", "languages", "modules"],
51 install_options["install_requires"] = requirements
53 setup(**install_options)
57 echo '${setup}' > $sourceRoot/setup.py
61 description = "Tool for automatic download/upload subtitles for videofiles using fast hashing";
62 homepage = "https://www.subdownloader.net";
63 license = licenses.gpl3;