nixpkgs/pkgs/by-name/ne/neocities-cli/package.nix
Antoine c22626adf9 init: neocities-cli at 0.0.18
Add mainProgram attribute

Fix homepage attribute

Fix description attribute

Remove redundant name

Revert back mainProgram attribute

Turns out I shouldn't have modified it

Use pname correctly this time

Reduce the size of the derivation

Use directly bundlerApp as the final derivation

Add license attribute

Set correct license (MIT)
2024-02-23 10:08:49 +01:00

22 lines
511 B
Nix

{ lib
, bundlerApp
, bundlerUpdateScript
}:
bundlerApp {
pname = "neocities";
gemdir = ./.;
exes = [ "neocities" ];
passthru.updateScript = bundlerUpdateScript "neocities";
meta = with lib; {
description = "The Neocities Gem - A CLI and library for using the Neocities web site API.";
homepage = "https://github.com/neocities/neocities-ruby";
license = licenses.mit;
mainProgram = "neocities";
maintainers = with maintainers; [ dawoox ];
platforms = platforms.unix;
};
}