Merge pull request #46437 from bobvanderlinden/pr-opentracker-2018-05-26

opentracker: 2016-10-02 -> 2018-05-26
This commit is contained in:
Jörg Thalheim 2018-09-10 22:43:26 +01:00 committed by GitHub
commit 107448f19c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,20 +1,20 @@
{ stdenv, fetchgit, libowfat, zlib }:
stdenv.mkDerivation {
name = "opentracker-2016-10-02";
name = "opentracker-2018-05-26";
src = fetchgit {
url = "git://erdgeist.org/opentracker";
rev = "0ebc0ed6a3e3b7acc9f9e338cc23cea5f4f22f61";
sha256 = "0qi0a8fygjwgs3yacramfn53jdabfgrlzid7q597x9lr94anfpyl";
url = "https://erdgeist.org/gitweb/opentracker";
rev = "6411f1567f64248b0d145493c2e61004d2822623";
sha256 = "110nfb6n4clykwdzpk54iccsfjawq0krjfqhg114i1z0ri5dyl8j";
};
buildInputs = [ libowfat zlib ];
installPhase = ''
mkdir -p $out/bin $out/share/doc
cp opentracker $out/bin
cp opentracker.conf.sample $out/share/doc
runHook preInstall
install -D opentracker $out/bin/opentracker
install -D opentracker.conf.sample $out/share/doc/opentracker.conf.sample
runHook postInstall
'';