dosfstools: 4.1 -> 4.2 (#163074)
This commit is contained in:
parent
9c5038967d
commit
dd207d6bda
|
@ -1,21 +1,30 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libiconv }:
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libiconv, gettext, xxd }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "dosfstools";
|
pname = "dosfstools";
|
||||||
version = "4.1";
|
version = "4.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dosfstools";
|
owner = "dosfstools";
|
||||||
repo = "dosfstools";
|
repo = "dosfstools";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1a2zn1655d5f1m6jp9vpn3bp8yfxhcmxx3mx23ai9hmxiydiykr1";
|
sha256 = "sha256-2gxB0lQixiHOHw8uTetHekaM57fvUd9zOzSxWnvUz/c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config ]
|
nativeBuildInputs = [ autoreconfHook pkg-config ]
|
||||||
++ lib.optional stdenv.isDarwin libiconv;
|
++ lib.optional stdenv.isDarwin libiconv;
|
||||||
|
|
||||||
|
# configure.ac:75: error: required file './config.rpath' not found
|
||||||
|
# https://github.com/dosfstools/dosfstools/blob/master/autogen.sh
|
||||||
|
postPatch = ''
|
||||||
|
cp ${gettext}/share/gettext/config.rpath config.rpath
|
||||||
|
'';
|
||||||
|
|
||||||
configureFlags = [ "--enable-compat-symlinks" ];
|
configureFlags = [ "--enable-compat-symlinks" ];
|
||||||
|
|
||||||
|
checkInputs = [ xxd ];
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Utilities for creating and checking FAT and VFAT file systems";
|
description = "Utilities for creating and checking FAT and VFAT file systems";
|
||||||
homepage = "https://github.com/dosfstools/dosfstools";
|
homepage = "https://github.com/dosfstools/dosfstools";
|
||||||
|
|
Loading…
Reference in a new issue