-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
507146a
commit c96c1c3
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
}; | ||
} |