Skip to content

Commit

Permalink
docker: add meta information and license to moby
Browse files Browse the repository at this point in the history
  • Loading branch information
0xf09f95b4 committed Oct 26, 2024
1 parent aba41ae commit 51301cc
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions pkgs/applications/virtualization/docker/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ rec {
, knownVulnerabilities ? []
}:
let
docker-meta = {
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
offline
vdemeester
periklis
teutat3s
];
};

docker-runc = runc.overrideAttrs {
pname = "docker-runc";
inherit version;
Expand Down Expand Up @@ -160,6 +170,11 @@ rec {
++ lib.optional (!withBtrfs) "exclude_graphdriver_btrfs"
++ lib.optional (!withLvm) "exclude_graphdriver_devicemapper"
++ lib.optional withSeccomp "seccomp";

meta = docker-meta // {
homepage = "https://mobyproject.org/";
description = "A collaborative project for the container ecosystem to assemble container-based systems.";
};
});

plugins = lib.optional buildxSupport docker-buildx
Expand Down Expand Up @@ -257,16 +272,14 @@ rec {
tests = lib.optionals (!clientOnly) { inherit (nixosTests) docker; };
};

meta = with lib; {
meta = docker-meta // {
homepage = "https://www.docker.com/";
description = "Open source project to pack, ship and run any application as a lightweight container";
longDescription = ''
Docker is a platform designed to help developers build, share, and run modern applications.

To enable the docker daemon on NixOS, set the `virtualisation.docker.enable` option to `true`.
'';
license = licenses.asl20;
maintainers = with maintainers; [ offline vdemeester periklis teutat3s ];
mainProgram = "docker";
inherit knownVulnerabilities;
};
Expand Down

0 comments on commit 51301cc

Please sign in to comment.