Commit fed7916b authored by emaryn's avatar emaryn
Browse files
parent c4170d9f
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
  docker,
  yarn,
  docker-compose,
  nix-update-script,
}:

let
@@ -18,18 +19,18 @@ let
in
stdenv.mkDerivation (finalAttrs: {
  pname = "devcontainer";
  version = "0.72.0";
  version = "0.75.0";

  src = fetchFromGitHub {
    owner = "devcontainers";
    repo = "cli";
    tag = "v${finalAttrs.version}";
    hash = "sha256-3rSWD6uxwcMQdHBSmmAQ0aevqevVXINigCj06jjEcRc=";
    hash = "sha256-mzS5ejiD8HuvcD6aHIgbRU1pi43P8AiuDLaIlwpGllE=";
  };

  yarnOfflineCache = fetchYarnDeps {
    yarnLock = "${finalAttrs.src}/yarn.lock";
    hash = "sha256-KSVr6RlBEeDAo8D+7laTN+pSH8Ukl6WTpeAULuG2fq8=";
    hash = "sha256-ix9rixdrvt6hYtx4QTvsg3fm2uz3MvZxFZQfKkTDWc8=";
  };

  nativeBuildInputs = [
@@ -81,6 +82,8 @@ stdenv.mkDerivation (finalAttrs: {
      }
  '';

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Dev container CLI, run and manage your dev environments via a devcontainer.json";
    homepage = "https://containers.dev/";