Skip to content

Commit

Permalink
refinement and feedback from @SuperSandro2000
Browse files Browse the repository at this point in the history
  • Loading branch information
vasu1124 committed Jan 12, 2024
1 parent 1fba136 commit f9c02af
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
11 changes: 6 additions & 5 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 12 additions & 10 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SPDX-License-Identifier: Apache-2.0

inputs = {
# NixPkgs (nixos-23.11)
nixpkgs.url = "nixpkgs/nixos-23.11"; #"github:NixOS/nixpkgs/nixos-23.11";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
};

outputs = { self, nixpkgs, ... }:
Expand Down Expand Up @@ -64,15 +64,17 @@ SPDX-License-Identifier: Apache-2.0
nativeBuildInputs = [ pkgs.installShellFiles ];

postInstall = ''
installShellCompletion --cmd ${pname} --zsh <($out/bin/${pname} completion zsh)
installShellCompletion --cmd ${pname} --bash <($out/bin/${pname} completion bash)
installShellCompletion --cmd ${pname} --fish <($out/bin/${pname} completion fish)
installShellCompletion --cmd ${pname} \
--zsh <($out/bin/${pname} completion zsh) \
--bash <($out/bin/${pname} completion bash) \
--fish <($out/bin/${pname} completion fish)
'';

meta = with lib; {
description = "Open Component Model (OCM) is an open standard to describe software bills of delivery (SBOD)";
longDescription = ''
The Open Component Model (OCM) is an open standard to describe software bills of delivery (SBOD). OCM is a technology-agnostic and machine-readable format focused on the software artifacts that must be delivered for software products.
OCM is a technology-agnostic and machine-readable format focused on the software artifacts that must be delivered for software products.
The specification is also used to express metadata needed for security, compliance, and certification purpose.
'';
homepage = "https://ocm.software";
license = licenses.asl20;
Expand All @@ -89,11 +91,11 @@ SPDX-License-Identifier: Apache-2.0
{
default = pkgs.mkShell {
buildInputs = with pkgs; [
go_1_21
gopls
gotools
go-tools
gnumake
go_1_21 # golang 1.21
gopls # go language server
gotools # go imports
go-tools # static checks
gnumake # standard make
];
};
});
Expand Down

0 comments on commit f9c02af

Please sign in to comment.