2021-05-30 02:04:45 +00:00
|
|
|
{ lib, stdenv, fetchurl, fetchpatch, libtool }:
|
2014-11-20 14:30:33 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "getdata";
|
2017-07-15 09:39:56 +00:00
|
|
|
version = "0.10.0";
|
2014-11-20 14:30:33 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/getdata/${pname}-${version}.tar.xz";
|
2017-07-15 09:39:56 +00:00
|
|
|
sha256 = "18xbb32vygav9x6yz0gdklif4chjskmkgp06rwnjdf9myhia0iym";
|
2014-11-20 14:30:33 +00:00
|
|
|
};
|
|
|
|
|
2021-05-30 02:04:45 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://sources.debian.org/data/main/libg/libgetdata/0.10.0-10/debian/patches/CVE-2021-20204.patch";
|
|
|
|
sha256 = "1lvp1c2pkk9kxniwlvax6d8fsmjrkpxawf71c7j4rfjm6dgvivzm";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2017-07-15 09:39:56 +00:00
|
|
|
buildInputs = [ libtool ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2014-11-20 14:30:33 +00:00
|
|
|
description = "Reference implementation of the Dirfile Standards";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.vbgl ];
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://getdata.sourceforge.net/";
|
2014-11-20 14:30:33 +00:00
|
|
|
};
|
|
|
|
}
|