diff --git a/pkgs/by-name/ge/geoclock/package.nix b/pkgs/by-name/ge/geoclock/package.nix new file mode 100644 index 000000000000..d8718f34a680 --- /dev/null +++ b/pkgs/by-name/ge/geoclock/package.nix @@ -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 ]; + }; +})