Skip to content

Commit 942eb9a

Browse files
authored
Merge pull request #147695 from LeSuisse/getdata-0.11.0
getdata: 0.10.0 -> 0.11.0
2 parents ad2e23e + 8b88a19 commit 942eb9a

1 file changed

Lines changed: 8 additions & 12 deletions

File tree

pkgs/development/libraries/getdata/default.nix

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
1-
{ lib, stdenv, fetchurl, fetchpatch, libtool }:
1+
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libtool }:
22
stdenv.mkDerivation rec {
33
pname = "getdata";
4-
version = "0.10.0";
5-
src = fetchurl {
6-
url = "mirror://sourceforge/getdata/${pname}-${version}.tar.xz";
7-
sha256 = "18xbb32vygav9x6yz0gdklif4chjskmkgp06rwnjdf9myhia0iym";
4+
version = "0.11.0";
5+
src = fetchFromGitHub {
6+
owner = "ketiltrout";
7+
repo = pname;
8+
rev = "v${version}";
9+
sha256 = "sha256-fuFakbkxDwDp6Z9VITPIB8NiYRSp98Ub1y5SC6W5S1E=";
810
};
911

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-
12+
nativeBuildInputs = [ autoreconfHook ];
1713
buildInputs = [ libtool ];
1814

1915
meta = with lib; {

0 commit comments

Comments
 (0)