Add etesync derivation
This commit is contained in:
parent
069ed5fc22
commit
bc79d2725a
1 changed files with 18 additions and 0 deletions
18
nixos/packages/etesync-dav/default.nix
Normal file
18
nixos/packages/etesync-dav/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
with import <nixpkgs> {};
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "etesync-dav";
|
||||
version = "0.5.0";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/etesync/etesync-dav/releases/download/v0.5.0/linux-etesync-dav";
|
||||
sha256 = "0mf7yir1whqbvdfz4551zknanv8wxxk7a21bfgx3lb9kchl6qy9c";
|
||||
};
|
||||
|
||||
unpackCmd = "mkdir unpacked;cp $curSrc ./unpacked/etesync-dav";
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin/
|
||||
cp -vr ./* $out/bin/
|
||||
chmod a+x -R $out/bin/
|
||||
'';
|
||||
buildInputs = [ autoPatchelfHook libzip ];
|
||||
}
|
Loading…
Reference in a new issue