summary refs log tree commit diff
path: root/pkgs/tools/misc/ddate/default.nix
blob: 4de50693b744a79c1ac88a0f2cdc25db4a60e29e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, stdenv, fetchFromGitHub, cmake }:

stdenv.mkDerivation rec {
  pname = "ddate";
  version = "0.2.2";

  src = fetchFromGitHub {
    owner = "bo0ts";
    repo = pname;
    rev = "refs/tags/v${version}";
    sha256 = "1qchxnxvghbma6gp1g78wnjxsri0b72ha9axyk31cplssl7yn73f";
  };

  nativeBuildInputs = [ cmake ];

  meta = with lib; {
    homepage = "https://github.com/bo0ts/ddate";
    description = "Discordian version of the date program";
    license = licenses.publicDomain;
    maintainers = with maintainers; [ kovirobi ];
    platforms = platforms.all;
  };
}