2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gsmlib";
|
|
|
|
version = "unstable-2017-10-06";
|
2023-02-16 17:41:37 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "x-logLT";
|
|
|
|
repo = "gsmlib";
|
|
|
|
rev = "4f794b14450132f81673f7d3570c5a859aecf7ae";
|
|
|
|
sha256 = "16v8aj914ac1ipf14a867ljib3gy7fhzd9ypxnsg9l0zi8mm3ml5";
|
|
|
|
};
|
2023-02-16 17:41:37 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2023-02-16 17:41:37 +00:00
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = [
|
|
|
|
# Needed with GCC 12
|
|
|
|
"-std=c++14"
|
|
|
|
];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Library to access GSM mobile phones through GSM modems";
|
|
|
|
homepage = "https://github.com/x-logLT/gsmlib";
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.misuzu ];
|
|
|
|
};
|
|
|
|
}
|