mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
add geoclock (#405472)
This commit is contained in:
commit
e8028dba9d
2 changed files with 37 additions and 0 deletions
|
@ -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";
|
||||
|
|
31
pkgs/by-name/ge/geoclock/package.nix
Normal file
31
pkgs/by-name/ge/geoclock/package.nix
Normal 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 ];
|
||||
};
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue