Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 30 lines 715 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 perl, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "surfraw"; 10 version = "2.3.0"; 11 12 src = fetchurl { 13 url = "https://gitlab.com/surfraw/Surfraw/uploads/2de827b2786ef2fe43b6f07913ca7b7f/surfraw-${version}.tar.gz"; 14 sha256 = "099nbif0x5cbcf18snc58nx1a3q7z0v9br9p2jiq9pcc7ic2015d"; 15 }; 16 17 configureFlags = [ 18 "--disable-opensearch" 19 ]; 20 21 nativeBuildInputs = [ perl ]; 22 23 meta = { 24 description = "Provides a fast unix command line interface to a variety of popular WWW search engines and other artifacts of power"; 25 homepage = "https://gitlab.com/surfraw/Surfraw"; 26 maintainers = [ ]; 27 platforms = lib.platforms.all; 28 license = lib.licenses.publicDomain; 29 }; 30}