getdata: 0.10.0 -> 0.11.0

https://github.com/ketiltrout/getdata/releases/tag/v0.11.0
This commit is contained in:
Thomas Gerbet 2021-11-28 12:05:27 +01:00
parent 9dd8cb8ce2
commit 8b88a19571

View file

@ -1,19 +1,15 @@
{ lib, stdenv, fetchurl, fetchpatch, libtool }: { lib, stdenv, fetchFromGitHub, autoreconfHook, libtool }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "getdata"; pname = "getdata";
version = "0.10.0"; version = "0.11.0";
src = fetchurl { src = fetchFromGitHub {
url = "mirror://sourceforge/getdata/${pname}-${version}.tar.xz"; owner = "ketiltrout";
sha256 = "18xbb32vygav9x6yz0gdklif4chjskmkgp06rwnjdf9myhia0iym"; repo = pname;
rev = "v${version}";
sha256 = "sha256-fuFakbkxDwDp6Z9VITPIB8NiYRSp98Ub1y5SC6W5S1E=";
}; };
patches = [ nativeBuildInputs = [ autoreconfHook ];
(fetchpatch {
url = "https://sources.debian.org/data/main/libg/libgetdata/0.10.0-10/debian/patches/CVE-2021-20204.patch";
sha256 = "1lvp1c2pkk9kxniwlvax6d8fsmjrkpxawf71c7j4rfjm6dgvivzm";
})
];
buildInputs = [ libtool ]; buildInputs = [ libtool ];
meta = with lib; { meta = with lib; {