nixpkgs/pkgs/tools/misc/ddate/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
600 B
Nix
Raw Normal View History

2021-01-15 09:19:50 +00:00
{ 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 ];
2021-01-15 09:19:50 +00:00
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;
2023-11-27 01:17:53 +00:00
mainProgram = "ddate";
};
}