Skip to content

Commit

Permalink
Updated tdengine derivation
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Kirk committed Oct 12, 2023
1 parent 4fc24d0 commit c0deae6
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions overlays/tdengine/default.nix
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
{
self,
nixpkgs,
stdenv,
fetchFromGitHub
}:
stdenv.mkDerivation {
name = "TDengine-client";
version = "3.0.4.2";
}: rec {
default = stdenv.mkDerivation {
name = "TDengine-client";
version = "3.0.4.2";

src = fetchFromGitHub {
owner = "taosdata";
repo = "TDEngine";
rev = "ver-${self.version}";
hash = "sha256-CMpfaVhq3LOngugxp9POvXIQMjtpgwqP1VoCj2KkfYE=";
};
src = fetchFromGitHub {
owner = "taosdata";
repo = "TDEngine";
rev = "ver-${default.version}";
hash = "sha256-CMpfaVhq3LOngugxp9POvXIQMjtpgwqP1VoCj2KkfYE=";
};

dontUseCmakeConfigure=true;
dontUseCmakeConfigure=true;

nativeBuildInputs = with nixpkgs; [
cacert
git
pkg-config
xz
jansson
cmake
];
nativeBuildInputs = with nixpkgs; [
cacert
git
pkg-config
xz
jansson
cmake
];

buildPhase = ''
./build.sh
'';

installPhase = ''
make install
'';
buildPhase = ''
./build.sh
'';

installPhase = ''
make install
'';
};
}

0 comments on commit c0deae6

Please sign in to comment.