lol

Merge pull request #197772 from figsoda/sagoin

sagoin: init at 0.1.0

authored by

figsoda and committed by
GitHub
6fef6a47 34890f4f

+44
+42
pkgs/tools/misc/sagoin/default.nix
··· 1 + { lib 2 + , rustPlatform 3 + , fetchFromGitHub 4 + , installShellFiles 5 + , stdenv 6 + , darwin 7 + }: 8 + 9 + rustPlatform.buildRustPackage rec { 10 + pname = "sagoin"; 11 + version = "0.1.0"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "figsoda"; 15 + repo = pname; 16 + rev = "v${version}"; 17 + sha256 = "0cp3sdck48kz7ssv9q0glz1m0awxis2n3lw8f8kvqm42zxa50ixm"; 18 + }; 19 + 20 + cargoSha256 = "sha256-hPj1sj64JoIGEoHMIm2bE+G+ivokckvChhrxNoaUTo8="; 21 + 22 + nativeBuildInputs = [ installShellFiles ]; 23 + 24 + buildInputs = lib.optionals stdenv.isDarwin [ 25 + darwin.apple_sdk.frameworks.Security 26 + ]; 27 + 28 + postInstall = '' 29 + installManPage artifacts/sagoin.1 30 + installShellCompletion artifacts/sagoin.{bash,fish} --zsh artifacts/_sagoin 31 + ''; 32 + 33 + GEN_ARTIFACTS = "artifacts"; 34 + 35 + meta = with lib; { 36 + description = "A command-line submission tool for the UMD CS Submission Server"; 37 + homepage = "https://github.com/figsoda/sagoin"; 38 + changelog = "https://github.com/figsoda/sagoin/blob/v${version}/CHANGELOG.md"; 39 + license = licenses.agpl3Plus; 40 + maintainers = with maintainers; [ figsoda ]; 41 + }; 42 + }
+2
pkgs/top-level/all-packages.nix
··· 11075 11075 11076 11076 safeeyes = with python3.pkgs; toPythonApplication safeeyes; 11077 11077 11078 + sagoin = callPackage ../tools/misc/sagoin { }; 11079 + 11078 11080 sahel-fonts = callPackage ../data/fonts/sahel-fonts { }; 11079 11081 11080 11082 saldl = callPackage ../tools/networking/saldl { };