Add clsync tool
This commit is contained in:
parent
5314f343b6
commit
4b27ceec6d
54
bsc/clsync/default.nix
Normal file
54
bsc/clsync/default.nix
Normal file
@ -0,0 +1,54 @@
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, libcap
|
||||
, libcgroup
|
||||
, libmhash
|
||||
, doxygen
|
||||
, graphviz
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, glib
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.4.4";
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
pname = "clsync";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "clsync";
|
||||
owner = "clsync";
|
||||
rev = "v${version}";
|
||||
sha256 = "0sdiyfwp0iqr6l1sirm51pirzmhi4jzgky5pzfj24nn71q3fwqgz";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
buildInputs = [
|
||||
autoreconfHook
|
||||
libcap
|
||||
libcgroup
|
||||
libmhash
|
||||
doxygen
|
||||
graphviz
|
||||
pkg-config
|
||||
glib
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
./configure --help
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "File live sync daemon based on inotify/kqueue/bsm (Linux, FreeBSD), written in GNU C";
|
||||
homepage = "https://github.com/clsync/clsync";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = [ ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -9,6 +9,9 @@ let
|
||||
|
||||
self.bsc = rec {
|
||||
|
||||
nixpkgs = pkgs;
|
||||
|
||||
|
||||
# Load the default implementation
|
||||
#mpi = mpich;
|
||||
#mpi = openmpi;
|
||||
@ -195,6 +198,8 @@ let
|
||||
nixUnstable
|
||||
nixFlakes;
|
||||
|
||||
clsync = callPackage ./bsc/clsync/default.nix { };
|
||||
|
||||
nixStatic = (callPackageStatic ./bsc/nix/static.nix {
|
||||
callPackage = callPackageWith (pkgs.pkgsStatic);
|
||||
storeDir = "/nix/store";
|
||||
|
Loading…
Reference in New Issue
Block a user