signal-irc-bridge/package.nix

28 lines
450 B
Nix
Raw Normal View History

2024-07-19 19:06:13 +02:00
{
lib,
openssl,
pkg-config,
rustPlatform,
}:
2024-05-22 12:34:33 +02:00
rustPlatform.buildRustPackage rec {
pname = "signal-irc-bridge";
version = "0.1";
src =
with lib.fileset;
toSource {
root = ./.;
2024-07-19 19:06:13 +02:00
fileset = intersection (gitTracked ./.) (fileFilter (file: !file.hasExt "nix") ./.);
2024-05-22 12:34:33 +02:00
};
2024-07-19 19:06:13 +02:00
nativeBuildInputs = [
2024-05-22 12:34:33 +02:00
pkg-config
];
2024-07-19 19:06:13 +02:00
buildInputs = [ openssl ];
2024-05-22 12:34:33 +02:00
cargoHash = "sha256-J7+o6krHuK3CwwOIcDfm0s6F0cmviFQhSHpdKpXsa/g=";
}