Merge pull request #301435 from Sigmanificient/cano

cano: init at 0-unstable-2024-3-31

authored by Aleksana and committed by GitHub 1d138caf 4ba5c077

+34
+34
pkgs/by-name/ca/cano/package.nix
···
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , gnumake 5 + , ncurses 6 + }: 7 + stdenv.mkDerivation (finalAttrs: { 8 + name = "cano"; 9 + version = "0-unstable-2024-31-3"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "CobbCoding1"; 13 + repo = "Cano"; 14 + rev = "6b3488545b4180f20a7fa892fb0ee719e9298ddc"; 15 + hash = "sha256-qFo0szZVGLUf7c7KdEIofcieWZqtM6kQE6D8afrZ+RU="; 16 + }; 17 + 18 + buildInputs = [ gnumake ncurses ]; 19 + hardeningDisable = [ "format" "fortify" ]; 20 + 21 + installPhase = '' 22 + mkdir -p $out/bin 23 + cp build/cano $out/bin 24 + ''; 25 + 26 + meta = { 27 + description = "Text Editor Written In C Using ncurses"; 28 + homepage = "https://github.com/CobbCoding1/Cano"; 29 + license = lib.licenses.asl20; 30 + mainProgram = "Cano"; 31 + maintainers = with lib.maintainers; [ sigmanificient ]; 32 + platforms = lib.platforms.linux; 33 + }; 34 + })