nixpkgs/pkgs/development/libraries/gensio/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
826 B
Nix
Raw Normal View History

{ autoreconfHook
, fetchFromGitHub
, lib
, nix-update-script
2023-10-25 19:00:34 +00:00
, openssl
, pkg-config
, stdenv
}:
2020-01-11 08:30:47 +00:00
stdenv.mkDerivation rec {
pname = "gensio";
2024-02-04 01:39:32 +00:00
version = "2.8.3";
2020-01-11 08:30:47 +00:00
src = fetchFromGitHub {
owner = "cminyard";
repo = pname;
2020-01-11 08:30:47 +00:00
rev = "v${version}";
2024-02-04 01:39:32 +00:00
sha256 = "sha256-GmVekTySfSOIWkKLdVuhhtJFQBBBfHBj410jNUfSrkc=";
};
passthru = {
updateScript = nix-update-script { };
2020-01-11 08:30:47 +00:00
};
configureFlags = [
"--with-python=no"
];
nativeBuildInputs = [ autoreconfHook pkg-config ];
2020-01-11 08:30:47 +00:00
2023-10-25 19:00:34 +00:00
buildInputs = lib.optionals stdenv.isDarwin [ openssl ];
2020-01-11 08:30:47 +00:00
meta = with lib; {
description = "General Stream I/O";
homepage = "https://sourceforge.net/projects/ser2net/";
license = licenses.gpl2;
maintainers = with maintainers; [ emantor ];
mainProgram = "gensiot";
2021-03-08 14:57:56 +00:00
platforms = platforms.unix;
2020-01-11 08:30:47 +00:00
};
}