nixpkgs/pkgs/tools/filesystems/fatresize/default.nix

27 lines
648 B
Nix
Raw Normal View History

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