summary refs log tree commit diff
path: root/pkgs/applications/misc/catclock
diff options
context:
space:
mode:
authorRam Kromberg <ramkromberg@mail.com>2016-07-27 20:31:04 +0300
committerRam Kromberg <ramkromberg@mail.com>2016-07-28 12:09:31 +0300
commit4f94e026f440979ccffe4e5ff55e3e0866f4f71d (patch)
tree79ccc37e34ee1bf427063d1372d87a103f069aee /pkgs/applications/misc/catclock
parent62ba6b07f23dc4149d754aa92fed9d9e844c77fd (diff)
downloadnixpkgs-4f94e026f440979ccffe4e5ff55e3e0866f4f71d.tar
nixpkgs-4f94e026f440979ccffe4e5ff55e3e0866f4f71d.tar.gz
nixpkgs-4f94e026f440979ccffe4e5ff55e3e0866f4f71d.tar.bz2
nixpkgs-4f94e026f440979ccffe4e5ff55e3e0866f4f71d.tar.lz
nixpkgs-4f94e026f440979ccffe4e5ff55e3e0866f4f71d.tar.xz
nixpkgs-4f94e026f440979ccffe4e5ff55e3e0866f4f71d.tar.zst
nixpkgs-4f94e026f440979ccffe4e5ff55e3e0866f4f71d.zip
catclock: init at 2015-10-04
Diffstat (limited to 'pkgs/applications/misc/catclock')
-rw-r--r--pkgs/applications/misc/catclock/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/misc/catclock/default.nix b/pkgs/applications/misc/catclock/default.nix
new file mode 100644
index 00000000000..8df06980b47
--- /dev/null
+++ b/pkgs/applications/misc/catclock/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, fetchFromGitHub, xlibsWrapper, motif }:
+
+stdenv.mkDerivation rec {
+  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 stdenv.lib; {
+    homepage = http://codefromabove.com/2014/05/catclock/;
+    license = with licenses; mit;
+    maintainers = with maintainers; [ ramkromberg ];
+    platforms = with platforms; linux;
+  };
+}