forked from mirrors/nixpkgs
51fbd3068b
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. These checks were done: - built on NixOS - /nix/store/mgfrpaqbzbby4qy7wxj20h6dx0dh1sqz-pacman-5.1.0/bin/repo-add passed the binary check. - /nix/store/mgfrpaqbzbby4qy7wxj20h6dx0dh1sqz-pacman-5.1.0/bin/makepkg passed the binary check. - /nix/store/mgfrpaqbzbby4qy7wxj20h6dx0dh1sqz-pacman-5.1.0/bin/pacman-db-upgrade passed the binary check. - /nix/store/mgfrpaqbzbby4qy7wxj20h6dx0dh1sqz-pacman-5.1.0/bin/pacman-key passed the binary check. - /nix/store/mgfrpaqbzbby4qy7wxj20h6dx0dh1sqz-pacman-5.1.0/bin/pkgdelta passed the binary check. - /nix/store/mgfrpaqbzbby4qy7wxj20h6dx0dh1sqz-pacman-5.1.0/bin/repo-elephant passed the binary check. - /nix/store/mgfrpaqbzbby4qy7wxj20h6dx0dh1sqz-pacman-5.1.0/bin/repo-remove passed the binary check. - /nix/store/mgfrpaqbzbby4qy7wxj20h6dx0dh1sqz-pacman-5.1.0/bin/vercmp passed the binary check. - Warning: no invocation of /nix/store/mgfrpaqbzbby4qy7wxj20h6dx0dh1sqz-pacman-5.1.0/bin/testpkg had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/mgfrpaqbzbby4qy7wxj20h6dx0dh1sqz-pacman-5.1.0/bin/cleanupdelta had a zero exit code or showed the expected version - /nix/store/mgfrpaqbzbby4qy7wxj20h6dx0dh1sqz-pacman-5.1.0/bin/pacman passed the binary check. - /nix/store/mgfrpaqbzbby4qy7wxj20h6dx0dh1sqz-pacman-5.1.0/bin/pacman-conf passed the binary check. - /nix/store/mgfrpaqbzbby4qy7wxj20h6dx0dh1sqz-pacman-5.1.0/bin/makepkg-template passed the binary check. - 11 of 13 passed binary check by having a zero exit code. - 0 of 13 passed binary check by having the new version present in output. - found 5.1.0 with grep in /nix/store/mgfrpaqbzbby4qy7wxj20h6dx0dh1sqz-pacman-5.1.0 - directory tree listing: https://gist.github.com/61f365ecd9146adf48fc68403568904d - du listing: https://gist.github.com/391d88c911aeda73c0cd89f80ced8ce2
27 lines
841 B
Nix
27 lines
841 B
Nix
{ stdenv, lib, fetchurl, autoreconfHook, pkgconfig, perl, libarchive, openssl,
|
|
zlib, bzip2, lzma }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "pacman-${version}";
|
|
version = "5.1.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://git.archlinux.org/pacman.git/snapshot/pacman-${version}.tar.gz";
|
|
sha256 = "1b545zvh661vkypnqr1cdicypym9d2kfvnxbf4a61qkyza6kzx35";
|
|
};
|
|
|
|
# trying to build docs fails with a2x errors, unable to fix through asciidoc
|
|
configureFlags = [ "--disable-doc" ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
buildInputs = [ perl libarchive openssl zlib bzip2 lzma ];
|
|
|
|
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 ];
|
|
};
|
|
}
|