ptext: init at 0-unstable-2024-08-19 (#336396)

authored by Yohann Boniface and committed by GitHub 963c58df aae523b8

+36
+36
pkgs/by-name/pt/ptext/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + }: 6 + 7 + stdenv.mkDerivation { 8 + pname = "ptext"; 9 + version = "0-unstable-2024-08-19"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "proh14"; 13 + repo = "ptext"; 14 + rev = "86cc1a165f398bd1f08fc45f2db93d4a9701ab0e"; 15 + hash = "sha256-bmqQslC/T7dFJwg/ZCevQRpmkVJHRQ++0EV4b88xF6k="; 16 + }; 17 + 18 + enableParallelBuilding = true; 19 + hardeningDisable = [ "fortify" ]; 20 + 21 + makeFlags = [ 22 + "INSTALL_DIR=${placeholder "out"}/bin" 23 + "MANPAGE_INSTALL_DIR=${placeholder "out"}/share/man/man1" 24 + ]; 25 + 26 + preInstall = "mkdir -p $out/{bin,share/man/man1}"; 27 + 28 + meta = { 29 + description = "Nano like text editor built with pure C"; 30 + homepage = "https://github.com/proh14/ptext"; 31 + license = lib.licenses.bsd2; 32 + maintainers = with lib.maintainers; [ sigmanificient ]; 33 + platforms = lib.platforms.linux; 34 + mainProgram = "ptext"; 35 + }; 36 + }