2021-06-28 23:13:55 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "beats";
|
2021-07-03 03:11:41 +00:00
|
|
|
version = "1.1";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "j0hax";
|
|
|
|
repo = "beats";
|
|
|
|
rev = "v${version}";
|
2021-07-03 03:11:41 +00:00
|
|
|
sha256 = "1rdvsqrjpily74y8vwch711401585xckb4p41cfwrmj6vf44jhif";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|