Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPythonPackage, lib, fetchFromGitHub }: 2 3buildPythonPackage rec { 4 pname = "torrent_parser"; 5 version = "0.4.1"; 6 7 # No tarballs on Pypi 8 src = fetchFromGitHub { 9 owner = "7sDream"; 10 repo = "torrent_parser"; 11 rev = "v${version}"; 12 sha256 = "sha256-zM738r3o9dGZYoWLN7fM4E06m6YPcAODEkgDS6wU/Sc="; 13 }; 14 15 meta = { 16 description = "A .torrent file parser and creator for both Python 2 and 3"; 17 homepage = "https://github.com/7sDream/torrent_parser"; 18 license = lib.licenses.mit; 19 maintainers = with lib.maintainers; [ ]; 20 }; 21}