This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

5pkgs: remove unused searx and yt-next packages

-96
-82
5pkgs/searx/default.nix
··· 1 - { 2 - lib, 3 - nixosTests, 4 - python3, 5 - python3Packages, 6 - fetchFromGitHub, 7 - }: 8 - 9 - with python3Packages; 10 - 11 - toPythonModule (buildPythonApplication rec { 12 - pname = "searx"; 13 - version = "1.0.0"; 14 - 15 - # Can not use PyPI because certain test files are missing. 16 - src = fetchFromGitHub { 17 - owner = "searx"; 18 - repo = "searx"; 19 - rev = "v${version}"; 20 - sha256 = "0ghkx8g8jnh8yd46p4mlbjn2zm12nx27v7qflr4c8xhlgi0px0mh"; 21 - }; 22 - 23 - postPatch = '' 24 - sed -i 's/==.*$//' requirements.txt 25 - ''; 26 - 27 - preBuild = '' 28 - export SEARX_DEBUG="true"; 29 - ''; 30 - 31 - propagatedBuildInputs = [ 32 - Babel 33 - certifi 34 - dateutil 35 - flask 36 - flaskbabel 37 - gevent 38 - grequests 39 - jinja2 40 - langdetect 41 - lxml 42 - ndg-httpsclient 43 - pyasn1 44 - pyasn1-modules 45 - pygments 46 - pysocks 47 - pytz 48 - pyyaml 49 - requests 50 - speaklater 51 - werkzeug 52 - ]; 53 - 54 - # tests try to connect to network 55 - doCheck = false; 56 - # checkInputs = [ 57 - # Babel mock nose2 covCore pep8 plone-testing splinter 58 - # unittest2 zope_testrunner selenium 59 - # ]; 60 - 61 - postInstall = '' 62 - # Create a symlink for easier access to static data 63 - mkdir -p $out/share 64 - ln -s ../${python3.sitePackages}/searx/static $out/share/ 65 - ''; 66 - 67 - passthru.tests = { 68 - inherit (nixosTests) searx; 69 - }; 70 - 71 - meta = with lib; { 72 - homepage = "https://github.com/searx/searx"; 73 - description = "A privacy-respecting, hackable metasearch engine"; 74 - license = licenses.agpl3Plus; 75 - maintainers = with maintainers; [ 76 - matejc 77 - fpletz 78 - globin 79 - danielfullmer 80 - ]; 81 - }; 82 - })
-1
5pkgs/searx/result
··· 1 - /nix/store/spmxdwcm2njnjm92xwp864kz2sgqridy-searx-1.0.0
-13
5pkgs/yt-next/default.nix
··· 1 - { pkgs, ... }: 2 - 3 - pkgs.writeScriptBin "yt-next" '' 4 - #! ${pkgs.bash}/bin/bash 5 - 6 - vid=$1 7 - num=''${NUM:-1} 8 - 9 - curl -Ls $1 \ 10 - | grep 'href="/watch?v=' \ 11 - | head -n$num \ 12 - | sed 's,.*href="\([^"]*\)".*,https://youtube.com\1,' 13 - ''