1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 08:05:40 +00:00
nixpkgs/pkgs/applications/misc/catclock/default.nix

32 lines
761 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, xlibsWrapper, motif }:
2016-07-27 18:31:04 +01:00
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
2016-07-27 18:31:04 +01:00
name = "catclock-2015-10-04";
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 ];
meta = with lib; {
homepage = "http://codefromabove.com/2014/05/catclock/";
2016-07-27 18:31:04 +01:00
license = with licenses; mit;
maintainers = with maintainers; [ ramkromberg ];
2016-07-31 09:41:20 +01:00
platforms = with platforms; linux ++ darwin;
2016-07-27 18:31:04 +01:00
};
}