summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorDaniel Peebles <copumpkin@users.noreply.github.com>2017-10-21 17:13:04 -0400
committerGitHub <noreply@github.com>2017-10-21 17:13:04 -0400
commit261bd27e423d17889f171157efb6534270a45edd (patch)
tree0dc362f1d145b39cf0ac04d76a8381fcb2b687b2 /pkgs/tools
parent2f3786e7ef1b246988136089b63d922f627aa7bc (diff)
parentb023332cdf99c3591dc5b0b5912987cc8921f1cd (diff)
downloadnixpkgs-261bd27e423d17889f171157efb6534270a45edd.tar
nixpkgs-261bd27e423d17889f171157efb6534270a45edd.tar.gz
nixpkgs-261bd27e423d17889f171157efb6534270a45edd.tar.bz2
nixpkgs-261bd27e423d17889f171157efb6534270a45edd.tar.lz
nixpkgs-261bd27e423d17889f171157efb6534270a45edd.tar.xz
nixpkgs-261bd27e423d17889f171157efb6534270a45edd.tar.zst
nixpkgs-261bd27e423d17889f171157efb6534270a45edd.zip
Merge pull request #30661 from c0bw3b/pkg/librepo
librepo: 1.7.20 -> 1.8.1
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/package-management/librepo/default.nix13
1 files changed, 4 insertions, 9 deletions
diff --git a/pkgs/tools/package-management/librepo/default.nix b/pkgs/tools/package-management/librepo/default.nix
index 99a5013e217..622d095d461 100644
--- a/pkgs/tools/package-management/librepo/default.nix
+++ b/pkgs/tools/package-management/librepo/default.nix
@@ -1,21 +1,16 @@
 { stdenv, fetchFromGitHub, cmake, python2, pkgconfig, expat, glib, pcre, openssl, curl, check, attr, gpgme }:
 
 stdenv.mkDerivation rec {
-  version = "1.7.20";
+  version = "1.8.1";
   name = "librepo-${version}";
 
   src = fetchFromGitHub {
     owner  = "rpm-software-management";
     repo   = "librepo";
-    rev    = name;
-    sha256 = "17fgj2wifn2qxmh1p285fbwys0xbvwbnmxsdfvqyr5njpyl2s99h";
+    rev    = version;
+    sha256 = "11rypnxjgsc2klyg294ndxy1cyp0nyk00zpjhcvqkhp58vvkkv12";
   };
 
-  patchPhase = ''
-    substituteInPlace librepo/python/python2/CMakeLists.txt \
-      --replace ' ''${PYTHON_INSTALL_DIR}' " $out/lib/python2.7/site-packages"
-  '';
-
   nativeBuildInputs = [ cmake pkgconfig ];
 
   buildInputs = [ python2 expat glib pcre openssl curl check attr gpgme ];
@@ -25,9 +20,9 @@ stdenv.mkDerivation rec {
 
   meta = with stdenv.lib; {
     description = "Library providing C and Python (libcURL like) API for downloading linux repository metadata and packages";
+    homepage    = https://rpm-software-management.github.io/librepo/;
     license     = licenses.lgpl2Plus;
     platforms   = platforms.linux;
     maintainers = with maintainers; [ copumpkin ];
   };
 }
-