nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, fetchFromGitHub, parted, util-linux, pkg-config }:
2
3stdenv.mkDerivation rec {
4
5 version = "1.1.0";
6 pname = "fatresize";
7
8 src = fetchFromGitHub {
9 owner = "ya-mouse";
10 repo = "fatresize";
11 rev = "v${version}";
12 sha256 = "1vhz84kxfyl0q7mkqn68nvzzly0a4xgzv76m6db0bk7xyczv1qr2";
13 };
14
15 buildInputs = [ parted util-linux ];
16 nativeBuildInputs = [ pkg-config ];
17
18 propagatedBuildInputs = [ parted util-linux ];
19
20 meta = with lib; {
21 description = "The FAT16/FAT32 non-destructive resizer";
22 homepage = "https://github.com/ya-mouse/fatresize";
23 platforms = platforms.linux;
24 license = licenses.gpl3;
25 };
26}