2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, parted, util-linux, pkg-config }:
|
2015-08-17 18:45:37 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-09-07 20:19:35 +00:00
|
|
|
|
2020-09-30 12:59:06 +00:00
|
|
|
version = "1.1.0";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "fatresize";
|
2015-08-17 18:45:37 +00:00
|
|
|
|
2020-09-30 12:59:06 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ya-mouse";
|
|
|
|
repo = "fatresize";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1vhz84kxfyl0q7mkqn68nvzzly0a4xgzv76m6db0bk7xyczv1qr2";
|
2015-08-17 18:45:37 +00:00
|
|
|
};
|
2018-09-07 20:19:35 +00:00
|
|
|
|
2020-11-24 15:29:28 +00:00
|
|
|
buildInputs = [ parted util-linux ];
|
2020-09-30 12:59:06 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2018-09-07 20:19:35 +00:00
|
|
|
|
2020-11-24 15:29:28 +00:00
|
|
|
propagatedBuildInputs = [ parted util-linux ];
|
2018-09-07 20:19:35 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-08-17 18:45:37 +00:00
|
|
|
description = "The FAT16/FAT32 non-destructive resizer";
|
2020-09-30 12:59:06 +00:00
|
|
|
homepage = "https://github.com/ya-mouse/fatresize";
|
2018-09-07 20:19:35 +00:00
|
|
|
platforms = platforms.linux;
|
2020-09-30 12:59:06 +00:00
|
|
|
license = licenses.gpl3;
|
2015-08-17 18:45:37 +00:00
|
|
|
};
|
|
|
|
}
|