Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 38 lines 810 B view raw
1{ 2 lib, 3 python3Packages, 4 fetchPypi, 5}: 6 7python3Packages.buildPythonApplication rec { 8 pname = "addic7ed-cli"; 9 version = "1.4.6"; 10 format = "pyproject"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "182cpwxpdybsgl1nps850ysvvjbqlnx149kri4hxhgm58nqq0qf5"; 15 }; 16 17 build-system = with python3Packages; [ 18 setuptools 19 ]; 20 21 dependencies = with python3Packages; [ 22 requests 23 pyquery 24 ]; 25 26 # Tests require network access 27 doCheck = false; 28 pythonImportsCheck = [ "addic7ed_cli" ]; 29 30 meta = { 31 description = "Commandline access to addic7ed subtitles"; 32 homepage = "https://github.com/BenoitZugmeyer/addic7ed-cli"; 33 license = lib.licenses.mit; 34 maintainers = with lib.maintainers; [ aethelz ]; 35 platforms = lib.platforms.unix; 36 mainProgram = "addic7ed"; 37 }; 38}