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

24 lines
562 B
Nix
Raw Normal View History

2021-06-21 14:54:28 +01:00
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "beats";
2021-07-02 23:16:04 +01:00
version = "1.1";
2021-06-21 14:54:28 +01:00
src = fetchFromGitHub {
owner = "j0hax";
repo = "beats";
rev = "v${version}";
2021-07-02 23:16:04 +01:00
sha256 = "1rdvsqrjpily74y8vwch711401585xckb4p41cfwrmj6vf44jhif";
2021-06-21 14:54:28 +01:00
};
2021-11-10 02:25:56 +00:00
makeFlags = [ "PREFIX=$(out)" "CC=cc" ];
2021-06-21 14:54:28 +01: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 ];
};
}