diff options
author | Oleksii Filonenko <brightone@protonmail.com> | 2020-01-03 12:18:45 +0200 |
---|---|---|
committer | Oleksii Filonenko <brightone@protonmail.com> | 2020-01-08 21:14:53 +0200 |
commit | cb132f981f9cf1259cbb2319441f93ce9c9360ba (patch) | |
tree | 2e4eb5f6715ea078cd47245e06bfb98cea56d5a5 /pkgs/applications/networking/irc | |
parent | 1eb5d0c091cefb5a8229fe56652390dae81b8279 (diff) |
tiny: init at 0.5.1
Diffstat (limited to 'pkgs/applications/networking/irc')
-rw-r--r-- | pkgs/applications/networking/irc/tiny/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/applications/networking/irc/tiny/default.nix b/pkgs/applications/networking/irc/tiny/default.nix new file mode 100644 index 0000000000000..7967bdcc9c4e9 --- /dev/null +++ b/pkgs/applications/networking/irc/tiny/default.nix @@ -0,0 +1,35 @@ +{ 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 = "1vj6whnx8gd5r66zric9163ddlqc4al4azj0dvhv5sq0r33871kv"; + + 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 ]; + }; +} |