nixpkgs/pkgs/tools/package-management/pacman/default.nix
R. RyanTM e2a36dde4b pacman: 5.1.1 -> 5.1.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pacman/versions
2019-01-13 09:50:55 +01:00

36 lines
993 B
Nix

{ stdenv, lib, fetchurl, autoreconfHook, pkgconfig, perl, libarchive, openssl,
zlib, bzip2, lzma }:
stdenv.mkDerivation rec {
name = "pacman-${version}";
version = "5.1.2";
src = fetchurl {
url = "https://git.archlinux.org/pacman.git/snapshot/pacman-${version}.tar.gz";
sha256 = "19fr60h0ffxzjxmlmhrfcq8447l0bkxnh64fwjagqn133d3dgd5x";
};
configureFlags = [
# trying to build docs fails with a2x errors, unable to fix through asciidoc
"--disable-doc"
"--localstatedir=/var"
];
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ perl libarchive openssl zlib bzip2 lzma ];
postFixup = ''
substituteInPlace $out/bin/repo-add \
--replace bsdtar "${libarchive}/bin/bsdtar"
'';
meta = with lib; {
description = "A simple library-based package manager";
homepage = https://www.archlinux.org/pacman/;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ mt-caret ];
};
}