From 62279fba323eed98efa6177cddf8798a97a9c425 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Fri, 22 Mar 2024 09:03:10 +0100 Subject: [PATCH] devenv: add `meta` attributes --- pkgs/by-name/de/devenv/package.nix | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/de/devenv/package.nix b/pkgs/by-name/de/devenv/package.nix index 40a4a3d3ef2c..17755df44b31 100644 --- a/pkgs/by-name/de/devenv/package.nix +++ b/pkgs/by-name/de/devenv/package.nix @@ -1,4 +1,15 @@ -{ stdenv, lib, openssl, darwin, libgit2, makeWrapper, nix, pkg-config, rustPlatform, cachix, fetchFromGitHub }: +{ stdenv +, lib +, openssl +, darwin +, libgit2 +, makeWrapper +, nix +, pkg-config +, rustPlatform +, cachix +, fetchFromGitHub +}: let devenv_nix = nix.overrideAttrs (old: { @@ -13,6 +24,7 @@ let doCheck = false; doInstallCheck = false; }); + version = "1.0.1"; in rustPlatform.buildRustPackage { pname = "devenv"; @@ -38,4 +50,13 @@ in rustPlatform.buildRustPackage { postInstall = '' wrapProgram $out/bin/devenv --set DEVENV_NIX ${devenv_nix} --prefix PATH ":" "$out/bin:${cachix}/bin" ''; + + meta = { + changelog = "https://github.com/cachix/devenv/releases/tag/v${version}"; + description = "Fast, Declarative, Reproducible, and Composable Developer Environments"; + homepage = "https://github.com/cachix/devenv"; + license = lib.licenses.asl20; + mainProgram = "devenv"; + maintainers = with lib.maintainers; [ domenkozar drupol ]; + }; }