diff options
author | Ram Kromberg <ramkromberg@mail.com> | 2016-07-27 20:31:04 +0300 |
---|---|---|
committer | Ram Kromberg <ramkromberg@mail.com> | 2016-07-28 12:09:31 +0300 |
commit | 4f94e026f440979ccffe4e5ff55e3e0866f4f71d (patch) | |
tree | 79ccc37e34ee1bf427063d1372d87a103f069aee | |
parent | 62ba6b07f23dc4149d754aa92fed9d9e844c77fd (diff) | |
download | nixpkgs-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
-rw-r--r-- | pkgs/applications/misc/catclock/default.nix | 31 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 33 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e88d7fe991b..2c2050a6bd5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -672,6 +672,8 @@ in catdoc = callPackage ../tools/text/catdoc { }; + catclock = callPackage ../applications/misc/catclock { }; + cdemu-daemon = callPackage ../misc/emulators/cdemu/daemon.nix { }; cdemu-client = callPackage ../misc/emulators/cdemu/client.nix { }; |