nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 727 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 parted, 6 util-linux, 7 pkg-config, 8}: 9 10stdenv.mkDerivation (finalAttrs: { 11 12 version = "1.1.0"; 13 pname = "fatresize"; 14 15 src = fetchFromGitHub { 16 owner = "ya-mouse"; 17 repo = "fatresize"; 18 rev = "v${finalAttrs.version}"; 19 sha256 = "1vhz84kxfyl0q7mkqn68nvzzly0a4xgzv76m6db0bk7xyczv1qr2"; 20 }; 21 22 buildInputs = [ 23 parted 24 util-linux 25 ]; 26 nativeBuildInputs = [ pkg-config ]; 27 28 propagatedBuildInputs = [ 29 parted 30 util-linux 31 ]; 32 33 meta = { 34 description = "FAT16/FAT32 non-destructive resizer"; 35 homepage = "https://github.com/ya-mouse/fatresize"; 36 platforms = lib.platforms.linux; 37 license = lib.licenses.gpl3; 38 mainProgram = "fatresize"; 39 }; 40})