Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "ddate"; 10 version = "0.2.2"; 11 12 src = fetchFromGitHub { 13 owner = "bo0ts"; 14 repo = "ddate"; 15 tag = "v${version}"; 16 sha256 = "1qchxnxvghbma6gp1g78wnjxsri0b72ha9axyk31cplssl7yn73f"; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 meta = with lib; { 22 homepage = "https://github.com/bo0ts/ddate"; 23 description = "Discordian version of the date program"; 24 license = licenses.publicDomain; 25 maintainers = with maintainers; [ kovirobi ]; 26 platforms = platforms.all; 27 mainProgram = "ddate"; 28 }; 29}