default.nix (720B)
1 { 2 lib, 3 stdenv, 4 fetchgit, 5 libressl, 6 libbsd, 7 }: 8 9 stdenv.mkDerivation (finalAttrs: { 10 pname = "hurl"; 11 version = "0.8"; 12 13 src = fetchgit { 14 url = "git://git.codemadness.org/hurl"; 15 rev = finalAttrs.version; 16 hash = "sha256-/aalBz4HbR8GZYt+gI4o1tfN5PfpSLG1gADcbo0Mp94="; 17 }; 18 19 buildInputs = [ 20 libressl 21 libbsd 22 ]; 23 24 NIX_LDFLAGS = "-lbsd"; 25 26 makeFlags = [ "PREFIX=$(out)" ]; 27 28 meta = { 29 description = "Relatively simple HTTP, HTTPS and Gopher client/file grabber"; 30 homepage = "https://git.codemadness.org/hurl/file/README.html"; 31 license = lib.licenses.isc; 32 maintainers = [ lib.maintainers.sikmir ]; 33 platforms = lib.platforms.linux; 34 skip.ci = stdenv.isDarwin; 35 }; 36 })