2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, xlibsWrapper, motif }:
|
2016-07-27 19:31:04 +02:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2021-11-07 21:29:51 +01:00
|
|
|
pname = "catclock";
|
|
|
|
version = "unstable-2015-10-04";
|
2016-07-27 19:31:04 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BarkyTheDog";
|
|
|
|
repo = "catclock";
|
|
|
|
rev = "d20b8825b38477a144e8a2a4bbd4779adb3620ac";
|
|
|
|
sha256 = "0fiv9rj8p8mifv24cxljdrrmh357q70zmzdci9bpbxnhs1gdpr63";
|
|
|
|
};
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mkdir -p $out/share/man/man1
|
|
|
|
cp xclock.man $out/share/man/man1/xclock.1
|
|
|
|
'';
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"DESTINATION=$(out)/bin/"
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ xlibsWrapper motif ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://codefromabove.com/2014/05/catclock/";
|
2016-07-27 19:31:04 +02:00
|
|
|
license = with licenses; mit;
|
|
|
|
maintainers = with maintainers; [ ramkromberg ];
|
2016-07-31 10:41:20 +02:00
|
|
|
platforms = with platforms; linux ++ darwin;
|
2016-07-27 19:31:04 +02:00
|
|
|
};
|
|
|
|
}
|