Unverified Commit c15d5598 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #238779 from Ruixi-rebirth/nixd

nixd: 1.0.0 -> 1.1.0
parents 021df35c 55d6d9df
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, nix-update-script
, bison
, boost182
, flex
, gtest
, libbacktrace
, lit
@@ -15,13 +18,13 @@

stdenv.mkDerivation rec {
  pname = "nixd";
  version = "1.0.0";
  version = "1.1.0";

  src = fetchFromGitHub {
    owner = "nix-community";
    repo = "nixd";
    rev = version;
    hash = "sha256-kTDPbsQi9gzFAFkiAPF+V3yI1WBmILEnnsqdgHMqXJA=";
    hash = "sha256-zeBVh9gPMR+1ETx0ujl+TUSoeHHR4fkQfxyOpCDKP9M=";
  };

  mesonBuildType = "release";
@@ -30,6 +33,8 @@ stdenv.mkDerivation rec {
    meson
    ninja
    pkg-config
    bison
    flex
  ];

  nativeCheckInputs = [
@@ -70,11 +75,13 @@ stdenv.mkDerivation rec {
    runHook postCheck
  '';

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

  meta = {
    description = "Nix language server";
    homepage = "https://github.com/nix-community/nixd";
    license = lib.licenses.lgpl3Plus;
    maintainers = with lib.maintainers; [ inclyc ];
    maintainers = with lib.maintainers; [ inclyc Ruixi-rebirth ];
    platforms = lib.platforms.unix;
    broken = stdenv.isDarwin;
  };