Skip to content

Commit

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

src = fetchFromGitHub {
owner = "taosdata";
repo = "TDEngine";
rev = "ver-${default.version}";
hash = "sha256-CMpfaVhq3LOngugxp9POvXIQMjtpgwqP1VoCj2KkfYE=";
};
src = fetchFromGitHub {
owner = "taosdata";
repo = "TDEngine";
rev = "ver-3.0.4.2";
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 4614604

Please sign in to comment.