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

24 lines
562 B
Nix
Raw Normal View History

2021-06-21 15:54:28 +02:00
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "beats";
2021-07-03 00:16:04 +02:00
version = "1.1";
2021-06-21 15:54:28 +02:00
src = fetchFromGitHub {
owner = "j0hax";
repo = "beats";
rev = "v${version}";
2021-07-03 00:16:04 +02:00
sha256 = "1rdvsqrjpily74y8vwch711401585xckb4p41cfwrmj6vf44jhif";
2021-06-21 15:54:28 +02:00
};
2021-11-10 03:25:56 +01:00
makeFlags = [ "PREFIX=$(out)" "CC=cc" ];
2021-06-21 15:54:28 +02:00
meta = with lib; {
homepage = "https://github.com/j0hax/beats";
license = licenses.gpl3Only;
description = "Swatch Internet Time implemented as a C program";
platforms = platforms.all;
maintainers = [ maintainers.j0hax ];
};
}