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

40 lines
762 B
Nix
Raw Normal View History

{ autoreconfHook
, fetchFromGitHub
, lib
, nix-update-script
, pkg-config
, stdenv
}:
2020-01-11 00:30:47 -08:00
stdenv.mkDerivation rec {
pname = "gensio";
2021-02-06 23:04:50 -08:00
version = "2.2.4";
2020-01-11 00:30:47 -08:00
src = fetchFromGitHub {
owner = "cminyard";
repo = pname;
2020-01-11 00:30:47 -08:00
rev = "v${version}";
2021-02-06 23:04:50 -08:00
sha256 = "sha256-tdMdIudB8zZWXF+Q0YhFo9Q4VHjLJh3rdfQsYhgo2DU=";
};
passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
2020-01-11 00:30:47 -08:00
};
configureFlags = [
"--with-python=no"
];
nativeBuildInputs = [ autoreconfHook pkg-config ];
2020-01-11 00:30:47 -08:00
meta = with lib; {
description = "General Stream I/O";
homepage = "https://sourceforge.net/projects/ser2net/";
license = licenses.gpl2;
maintainers = with maintainers; [ emantor ];
platforms = with platforms; linux;
};
}