forked from mirrors/nixpkgs
Merge pull request #46437 from bobvanderlinden/pr-opentracker-2018-05-26
opentracker: 2016-10-02 -> 2018-05-26
This commit is contained in:
commit
107448f19c
|
@ -1,20 +1,20 @@
|
||||||
{ stdenv, fetchgit, libowfat, zlib }:
|
{ stdenv, fetchgit, libowfat, zlib }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "opentracker-2016-10-02";
|
name = "opentracker-2018-05-26";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "git://erdgeist.org/opentracker";
|
url = "https://erdgeist.org/gitweb/opentracker";
|
||||||
rev = "0ebc0ed6a3e3b7acc9f9e338cc23cea5f4f22f61";
|
rev = "6411f1567f64248b0d145493c2e61004d2822623";
|
||||||
sha256 = "0qi0a8fygjwgs3yacramfn53jdabfgrlzid7q597x9lr94anfpyl";
|
sha256 = "110nfb6n4clykwdzpk54iccsfjawq0krjfqhg114i1z0ri5dyl8j";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libowfat zlib ];
|
buildInputs = [ libowfat zlib ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/share/doc
|
runHook preInstall
|
||||||
cp opentracker $out/bin
|
install -D opentracker $out/bin/opentracker
|
||||||
cp opentracker.conf.sample $out/share/doc
|
install -D opentracker.conf.sample $out/share/doc/opentracker.conf.sample
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue