1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/networking/irc/tiny/default.nix
2020-02-29 13:00:17 -05:00

36 lines
754 B
Nix

{ stdenv
, lib
, rustPlatform
, fetchpatch
, fetchFromGitHub
, pkg-config
, dbus
, openssl
}:
rustPlatform.buildRustPackage rec {
pname = "tiny";
version = "0.5.1";
src = fetchFromGitHub {
owner = "osa1";
repo = pname;
rev = "v${version}";
sha256 = "1m57xsrc7lzkrm8k1wh3yx3in5bhd0qjzygxdwr8lvigpsiy5caa";
};
cargoSha256 = "1s93zxk85wa7zw8745ba1sgipal75w1y18nc9vca6sig4pzvvj41";
RUSTC_BOOTSTRAP = 1;
nativeBuildInputs = lib.optional stdenv.isLinux pkg-config;
buildInputs = lib.optionals stdenv.isLinux [ dbus openssl ];
meta = with lib; {
description = "A console IRC client";
homepage = "https://github.com/osa1/tiny";
license = licenses.mit;
maintainers = with maintainers; [ filalex77 ];
};
}