cetcd
This commit is contained in:
parent
f7244c7e45
commit
c28b44152f
5 changed files with 114 additions and 13 deletions
40
pkgs/c/cetcd/package.nix
Normal file
40
pkgs/c/cetcd/package.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "cetcd";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "shen390s";
|
||||
repo = "cetcd";
|
||||
rev = "master";
|
||||
# sha256 = "sha256-9dzSc3w+yxYzsF/rZe3qIarKOpjt2zvIyjuS5FXngIM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgs.make
|
||||
pkgs.curl
|
||||
pkgs.pkg-config
|
||||
pkgs.yajl
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
true
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
make prefix=$out
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
make install prefix=$out
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue