catclock: 2015-10-04 -> 2021-11-15
This commit is contained in:
parent
c547d11572
commit
c00d014a15
1 changed files with 10 additions and 8 deletions
|
@ -1,14 +1,15 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, xlibsWrapper, motif }:
|
{ stdenv, lib, fetchFromGitHub, xlibsWrapper, motif
|
||||||
|
, withAudioTracking ? false, libpulseaudio, aubio }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "catclock";
|
pname = "catclock";
|
||||||
version = "unstable-2015-10-04";
|
version = "unstable-2021-11-15";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "BarkyTheDog";
|
owner = "BarkyTheDog";
|
||||||
repo = "catclock";
|
repo = "catclock";
|
||||||
rev = "d20b8825b38477a144e8a2a4bbd4779adb3620ac";
|
rev = "b2f277974b5a80667647303cabf8a89d6d6a4290";
|
||||||
sha256 = "0fiv9rj8p8mifv24cxljdrrmh357q70zmzdci9bpbxnhs1gdpr63";
|
sha256 = "0ls02j9waqg155rj6whisqm7ppsdabgkrln92n4rmkgnwv25hdbi";
|
||||||
};
|
};
|
||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
|
@ -17,14 +18,15 @@ stdenv.mkDerivation {
|
||||||
cp xclock.man $out/share/man/man1/xclock.1
|
cp xclock.man $out/share/man/man1/xclock.1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [ "DESTINATION=$(out)/bin/" ]
|
||||||
"DESTINATION=$(out)/bin/"
|
++ lib.optional withAudioTracking "WITH_TEMPO_TRACKER=1";
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [ xlibsWrapper motif ];
|
buildInputs = [ xlibsWrapper motif ]
|
||||||
|
++ lib.optionals withAudioTracking [ libpulseaudio aubio ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://codefromabove.com/2014/05/catclock/";
|
homepage = "http://codefromabove.com/2014/05/catclock/";
|
||||||
|
description = "Analog / Digital / Cat clock for X";
|
||||||
license = with licenses; mit;
|
license = with licenses; mit;
|
||||||
maintainers = with maintainers; [ ramkromberg ];
|
maintainers = with maintainers; [ ramkromberg ];
|
||||||
mainProgram = "xclock";
|
mainProgram = "xclock";
|
||||||
|
|
Loading…
Reference in a new issue