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