2021-01-15 10:19:50 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2014-12-31 17:57:21 +01:00
|
|
|
|
2020-11-01 23:39:49 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ddate";
|
|
|
|
version = "0.2.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bo0ts";
|
|
|
|
repo = pname;
|
|
|
|
rev = "refs/tags/v${version}";
|
2016-06-02 13:26:44 +02:00
|
|
|
sha256 = "1qchxnxvghbma6gp1g78wnjxsri0b72ha9axyk31cplssl7yn73f";
|
2014-12-31 17:57:21 +01:00
|
|
|
};
|
|
|
|
|
2020-12-31 08:48:55 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2014-12-31 17:57:21 +01:00
|
|
|
|
2021-01-15 10:19:50 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/bo0ts/ddate";
|
2014-12-31 17:57:21 +01:00
|
|
|
description = "Discordian version of the date program";
|
2020-12-31 08:48:55 +01:00
|
|
|
license = licenses.publicDomain;
|
|
|
|
maintainers = with maintainers; [ kovirobi ];
|
|
|
|
platforms = platforms.all;
|
2014-12-31 17:57:21 +01:00
|
|
|
};
|
|
|
|
}
|