Files
nixpkgs/pkgs/by-name/su/surfraw/package.nix
quantenzitrone 6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00

31 lines
736 B
Nix

{
lib,
stdenv,
fetchurl,
perl,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "surfraw";
version = "2.3.0";
src = fetchurl {
url = "https://gitlab.com/surfraw/Surfraw/uploads/2de827b2786ef2fe43b6f07913ca7b7f/surfraw-${finalAttrs.version}.tar.gz";
sha256 = "099nbif0x5cbcf18snc58nx1a3q7z0v9br9p2jiq9pcc7ic2015d";
};
configureFlags = [
"--disable-opensearch"
];
nativeBuildInputs = [ perl ];
meta = {
description = "Provides a fast unix command line interface to a variety of popular WWW search engines and other artifacts of power";
homepage = "https://gitlab.com/surfraw/Surfraw";
maintainers = [ ];
platforms = lib.platforms.all;
license = lib.licenses.publicDomain;
};
})