3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/filesystems/fatresize/default.nix

27 lines
650 B
Nix
Raw Normal View History

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