9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
27 lines
784 B
Nix
27 lines
784 B
Nix
{ lib, stdenv, rustPlatform, fetchurl, pkg-config, ncurses, openssl, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "asuka";
|
|
version = "0.8.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://git.sr.ht/~julienxx/${pname}/archive/${version}.tar.gz";
|
|
sha256 = "07i80qmdpwfdgwrk1gzs10wln91v23qjrsk0x134xf5mjnakxc06";
|
|
};
|
|
|
|
cargoSha256 = "0p0x4ch04kydg76bfal5zqzr9hvn5268wf3k2v9h7g8r4y8xqlhw";
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ ncurses openssl ]
|
|
++ lib.optional stdenv.isDarwin Security;
|
|
|
|
meta = with lib; {
|
|
description = "Gemini Project client written in Rust with NCurses";
|
|
homepage = "https://git.sr.ht/~julienxx/asuka";
|
|
license = licenses.mit;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ sikmir ];
|
|
};
|
|
}
|