Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 26 lines 795 B view raw
1{ lib, stdenv, fetchurl, fetchpatch, libtool }: 2stdenv.mkDerivation rec { 3 pname = "getdata"; 4 version = "0.10.0"; 5 src = fetchurl { 6 url = "mirror://sourceforge/getdata/${pname}-${version}.tar.xz"; 7 sha256 = "18xbb32vygav9x6yz0gdklif4chjskmkgp06rwnjdf9myhia0iym"; 8 }; 9 10 patches = [ 11 (fetchpatch { 12 url = "https://sources.debian.org/data/main/libg/libgetdata/0.10.0-10/debian/patches/CVE-2021-20204.patch"; 13 sha256 = "1lvp1c2pkk9kxniwlvax6d8fsmjrkpxawf71c7j4rfjm6dgvivzm"; 14 }) 15 ]; 16 17 buildInputs = [ libtool ]; 18 19 meta = with lib; { 20 description = "Reference implementation of the Dirfile Standards"; 21 license = licenses.lgpl21Plus; 22 platforms = platforms.all; 23 maintainers = [ maintainers.vbgl ]; 24 homepage = "http://getdata.sourceforge.net/"; 25 }; 26}