1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/tools/misc/ddate/default.nix
Pavol Rusnak 2c931312ce treewide: simplify rev/repo arguments in src
+ use fetchFromGithub where possible
2020-11-01 23:02:24 -08:00

24 lines
584 B
Nix

{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";
};
buildInputs = [ cmake ];
meta = {
homepage = "https://github.com/bo0ts/ddate";
description = "Discordian version of the date program";
license = stdenv.lib.licenses.publicDomain;
maintainers = with stdenv.lib.maintainers; [ kovirobi ];
platforms = stdenv.lib.platforms.all;
};
}