b885331e6e
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libndctl/versions. These checks were done: - built on NixOS - /nix/store/rii1gr6lwrvq5nq6ymgi68si4zyn898f-libndctl-61.1/bin/ndctl passed the binary check. - /nix/store/rii1gr6lwrvq5nq6ymgi68si4zyn898f-libndctl-61.1/bin/daxctl passed the binary check. - 2 of 2 passed binary check by having a zero exit code. - 0 of 2 passed binary check by having the new version present in output. - found 61.1 with grep in /nix/store/rii1gr6lwrvq5nq6ymgi68si4zyn898f-libndctl-61.1 - directory tree listing: https://gist.github.com/7442fd9972afca1f270dae2b565ea76b - du listing: https://gist.github.com/9fad672e4b6018cf6b76447bb765e063
40 lines
1.2 KiB
Nix
40 lines
1.2 KiB
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, autoconf, automake, asciidoc, docbook_xsl, docbook_xml_dtd_45, libxslt, xmlto, pkgconfig, json_c, kmod, which, systemd, utillinux
|
|
}:
|
|
|
|
let
|
|
version = "61.1";
|
|
in stdenv.mkDerivation rec {
|
|
name = "libndctl-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pmem";
|
|
repo = "ndctl";
|
|
rev = "v${version}";
|
|
sha256 = "1k996p757nwvkg86firx0yh39dsa9jx5w14rlfl4hlg2h9kkivnx";
|
|
};
|
|
|
|
outputs = [ "out" "man" "dev" ];
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook asciidoc pkgconfig xmlto docbook_xml_dtd_45 docbook_xsl libxslt
|
|
];
|
|
|
|
buildInputs = [
|
|
json_c kmod systemd utillinux
|
|
];
|
|
|
|
preAutoreconf = ''
|
|
substituteInPlace configure.ac --replace "which" "${which}/bin/which"
|
|
substituteInPlace git-version --replace /bin/bash ${stdenv.shell}
|
|
substituteInPlace git-version-gen --replace /bin/sh ${stdenv.shell}
|
|
echo "m4_define([GIT_VERSION], [${version}])" > version.m4;
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel";
|
|
homepage = https://github.com/pmem/ndctl;
|
|
license = licenses.lgpl21;
|
|
maintainers = with maintainers; [];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|