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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
648 B
Nix
Raw Normal View History

{ 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";
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
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
};
}