add geoclock (#405472)

This commit is contained in:
Yohann Boniface 2025-05-17 20:07:49 +02:00 committed by GitHub
commit e8028dba9d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 37 additions and 0 deletions

View file

@ -8106,6 +8106,12 @@
githubId = 8182846;
name = "Francesco Gazzetta";
};
fgrcl = {
email = "fgrclaberge@gmail.com";
github = "FGRCL";
githubId = 35940434;
name = "Francois LaBerge";
};
fidgetingbits = {
name = "fidgetingbits";
email = "nixpkgs.xe7au@passmail.net";

View file

@ -0,0 +1,31 @@
{
lib,
fetchCrate,
rustPlatform,
openssl,
pkg-config,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "geoclock";
version = "1.0.0";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
src = fetchCrate {
inherit (finalAttrs) pname version;
hash = "sha256-s23e9shdEnCnyr/LI0MioTW3vkoDZPIwWwJhyFUO7o4=";
};
cargoHash = "sha256-7mApZj3Ksy8Av0W+0+UZQCkH281bSBd4xo8/7JowmHs=";
cargoDepsName = finalAttrs.pname;
meta = {
description = "Displays time as calculated by your longitude";
homepage = "https://github.com/FGRCL/geoclock";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.fgrcl ];
};
})