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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
589 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 ];
2023-11-27 02:17:53 +01:00
mainProgram = "beats";
2021-06-21 15:54:28 +02:00
};
}