From 1ed786292b438930b510aeb78f7678917be21aba Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Wed, 9 Aug 2017 19:38:59 +0200 Subject: [PATCH] searx: cleanup, remove python name prefix --- pkgs/servers/web-apps/searx/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/web-apps/searx/default.nix b/pkgs/servers/web-apps/searx/default.nix index 551f3a015a1..0feae7d7241 100644 --- a/pkgs/servers/web-apps/searx/default.nix +++ b/pkgs/servers/web-apps/searx/default.nix @@ -1,8 +1,9 @@ -{ stdenv, pythonPackages, fetchFromGitHub }: +{ lib, pythonPackages, fetchFromGitHub }: pythonPackages.buildPythonApplication rec { name = "searx-${version}"; version = "0.12.0"; + namePrefix = ""; src = fetchFromGitHub { owner = "asciimoo"; @@ -25,10 +26,10 @@ pythonPackages.buildPythonApplication rec { pyasn1 pyasn1-modules ndg-httpsclient certifi pysocks ]; - meta = with stdenv.lib; { + meta = with lib; { homepage = https://github.com/asciimoo/searx; description = "A privacy-respecting, hackable metasearch engine"; license = licenses.agpl3Plus; maintainers = with maintainers; [ matejc fpletz profpatsch ]; }; - } +}