26 lines
461 B
Nix
26 lines
461 B
Nix
|
{ lib, openssl, pkg-config, rustPlatform }:
|
||
|
|
||
|
rustPlatform.buildRustPackage rec {
|
||
|
pname = "signal-irc-bridge";
|
||
|
version = "0.1";
|
||
|
|
||
|
src =
|
||
|
with lib.fileset;
|
||
|
toSource {
|
||
|
root = ./.;
|
||
|
fileset =
|
||
|
intersection (gitTracked ./.) (fileFilter (file: !file.hasExt "nix") ./.);
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
|
||
|
pkg-config
|
||
|
];
|
||
|
|
||
|
buildInputs = [
|
||
|
openssl
|
||
|
];
|
||
|
|
||
|
cargoHash = "sha256-J7+o6krHuK3CwwOIcDfm0s6F0cmviFQhSHpdKpXsa/g=";
|
||
|
}
|