mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
geoclock: init at 1.0.0
This commit is contained in:
parent
1efa67dfcc
commit
e1e19d750e
1 changed files with 31 additions and 0 deletions
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