22 stdenv.mkDerivation rec {
26 src = fetchFromGitHub {
30 sha256 = "sha256-8lZ0jUwHuc3Kntz73Btj6dJvkW2bvShu2KWTSQszbJo=";
35 src = ./fix-paths.patch;
36 ext4 = "${e2fsprogs}/bin/mkfs.ext4";
37 exfat = "${exfat}/bin/mkfs.exfat";
38 fat = "${dosfstools}/bin/mkfs.fat";
39 ntfs = "${ntfs3g}/bin/mkfs.ntfs";
40 hfsplus = "${hfsprogs}/bin/mkfs.hfsplus";
61 chmod +x meson/post_install.py
62 patchShebangs meson/post_install.py
66 updateScript = nix-update-script { };
70 description = "Simple formatter designed for elementary OS";
71 homepage = "https://github.com/Djaler/Formatter";
72 maintainers = with maintainers; [ xiorcale ] ++ teams.pantheon.members;
73 platforms = platforms.linux;
74 license = licenses.lgpl2Plus;
75 mainProgram = "com.github.djaler.formatter";