syncthing: 0.14.19 -> 0.14.21

This commit is contained in:
Peter Hoeg 2017-01-25 21:57:51 +08:00 committed by Robin Gloster
parent 9371acd80f
commit 0a4943a381

View file

@ -1,20 +1,19 @@
{ stdenv, lib, fetchFromGitHub, go, pkgs }:
let
removeExpr = ref: ''
sed -i "s,${ref},$(echo "${ref}" | sed "s,$NIX_STORE/[^-]*,$NIX_STORE/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee,"),g" \
'';
in
stdenv.mkDerivation rec {
version = "0.14.19";
in stdenv.mkDerivation rec {
version = "0.14.21";
name = "syncthing-${version}";
src = fetchFromGitHub {
owner = "syncthing";
repo = "syncthing";
rev = "v${version}";
sha256 = "16wpw9ndx3x37mfnymp2fx9n2az9ibyr61zgq3mh2mszzzl7bkcg";
sha256 = "0gxv4r7zg2rxjj0q8iiq3p5s75kwshcy6drjv65k8p2778bbvcjl";
};
buildInputs = [ go ];