nixpkgs/pkgs/development/libraries/libgnurl/default.nix

26 lines
618 B
Nix
Raw Normal View History

2016-07-05 00:51:28 +00:00
{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
2016-07-05 00:51:28 +00:00
version = "7.48.0";
name = "libgnurl-${version}";
src = fetchurl {
2016-07-05 00:51:28 +00:00
url = "https://gnunet.org/sites/default/files/gnurl-7_48_0.tar.bz2";
sha256 = "14gch4rdibrc8qs4mijsczxvl45dsclf234g17dk6c8nc2s4bm0a";
};
2016-07-05 00:51:28 +00:00
buildInputs = [ perl ];
preConfigure = ''
sed -e 's|/usr/bin|/no-such-path|g' -i.bak configure
'';
meta = with stdenv.lib; {
description = "A fork of libcurl used by GNUnet";
homepage = https://gnunet.org/gnurl;
2016-07-05 00:51:28 +00:00
maintainers = with maintainers; [ falsifian vrthra ];
hydraPlatforms = platforms.linux;
};
}