libndctl: init at 60.3

+42
+40
pkgs/development/libraries/libndctl/default.nix
··· 1 + { stdenv, fetchFromGitHub, autoreconfHook, autoconf, automake, asciidoc, docbook_xsl, docbook_xml_dtd_45, libxslt, xmlto, pkgconfig, json_c, kmod, which, systemd, utillinux 2 + }: 3 + 4 + let 5 + version = "60.3"; 6 + in stdenv.mkDerivation rec { 7 + name = "libndctl-${version}"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "pmem"; 11 + repo = "ndctl"; 12 + rev = "v${version}"; 13 + sha256 = "0w19yh6f9skf5zy4bhdjlrn3wdx5xx9cq8j6h04cmw4nla6zj9ar"; 14 + }; 15 + 16 + outputs = [ "out" "man" "dev" ]; 17 + 18 + nativeBuildInputs = [ 19 + autoreconfHook asciidoc pkgconfig xmlto docbook_xml_dtd_45 docbook_xsl libxslt 20 + ]; 21 + 22 + buildInputs = [ 23 + json_c kmod systemd utillinux 24 + ]; 25 + 26 + preAutoreconf = '' 27 + substituteInPlace configure.ac --replace "which" "${which}/bin/which" 28 + substituteInPlace git-version --replace /bin/bash ${stdenv.shell} 29 + substituteInPlace git-version-gen --replace /bin/sh ${stdenv.shell} 30 + echo "m4_define([GIT_VERSION], [${version}])" > version.m4; 31 + ''; 32 + 33 + meta = with stdenv.lib; { 34 + description = "Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel"; 35 + homepage = https://github.com/pmem/ndctl; 36 + license = licenses.lgpl21; 37 + maintainers = with maintainers; []; 38 + platforms = platforms.linux; 39 + }; 40 + }
+2
pkgs/top-level/all-packages.nix
··· 10354 10354 10355 10355 libmx = callPackage ../development/libraries/libmx { }; 10356 10356 10357 + libndctl = callPackage ../development/libraries/libndctl { }; 10358 + 10357 10359 libnet = callPackage ../development/libraries/libnet { }; 10358 10360 10359 10361 libnetfilter_conntrack = callPackage ../development/libraries/libnetfilter_conntrack { };