mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 14:47:06 +00:00
7ad23a3304
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libnfs/versions. These checks were done: - built on NixOS - Warning: no invocation of /nix/store/rzhnqdk6w2pmkg770dp4d4b5dfhg6dxc-libnfs-3.0.0/bin/nfs-cat had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/rzhnqdk6w2pmkg770dp4d4b5dfhg6dxc-libnfs-3.0.0/bin/nfs-ls had a zero exit code or showed the expected version - /nix/store/rzhnqdk6w2pmkg770dp4d4b5dfhg6dxc-libnfs-3.0.0/bin/nfs-cp passed the binary check. - 1 of 3 passed binary check by having a zero exit code. - 0 of 3 passed binary check by having the new version present in output. - found 3.0.0 with grep in /nix/store/rzhnqdk6w2pmkg770dp4d4b5dfhg6dxc-libnfs-3.0.0 - directory tree listing: https://gist.github.com/41f09d1c597fdac38e45fb2ab6bec655 - du listing: https://gist.github.com/00ddd65dc42da40cbedb9ae1fe041f73
28 lines
749 B
Nix
28 lines
749 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libnfs-${version}";
|
|
version = "3.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sahlberg";
|
|
repo = "libnfs";
|
|
rev = "libnfs-${version}";
|
|
sha256 = "115p55y2cbs92z5lmcnjx1v29lwinpgq4sha9v1kq1vd8674h404";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=tautological-compare";
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "NFS client library";
|
|
homepage = https://github.com/sahlberg/libnfs;
|
|
license = with licenses; [ lgpl2 bsd2 gpl3 ];
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|