Skip to content

Commit

Permalink
aw-awatcher: init at 0.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
BhasherBEL committed Jun 10, 2024
1 parent 507146a commit c96c1c3
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2663,6 +2663,12 @@
githubId = 24254289;
name = "Payas Relekar";
};
bhasher = {
email = "[email protected]";
github = "BhasherBEL";
githubId = 45831883;
name = "Brieuc Dubois";
};
bhipple = {
email = "[email protected]";
github = "bhipple";
Expand Down
38 changes: 38 additions & 0 deletions pkgs/by-name/aw/aw-awatcher/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
openssl,
}:
rustPlatform.buildRustPackage rec {
pname = "aw-awatcher";
version = "v0.2.7";

src = fetchFromGitHub {
owner = "2e3s";
repo = "awatcher";
rev = version;
hash = "sha256-e65QDbK55q1Pbv/i7bDYRY78jgEUD1q6TLdKD8Gkswk=";
};

cargoLock = {
lockFile = src + "/Cargo.lock";
outputHashes = {
"aw-client-rust-0.1.0" = "sha256-fCjVfmjrwMSa8MFgnC8n5jPzdaqSmNNdMRaYHNbs8Bo=";
};
};

nativeBuildInputs = [ pkg-config ];

buildInputs = [ openssl ];

meta = {
description = "Activity and idle watchers";
homepage = "https://github.com/2e3s/awatcher";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ bhasher ];
mainProgram = "awatcher";
platforms = lib.platforms.linux;
};
}

0 comments on commit c96c1c3

Please sign in to comment.