Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / gsmlib / default.nix
blob5b3672650f1970673299f4e2f81bc82bb667dab8
1 { lib, stdenv, fetchFromGitHub, autoreconfHook }:
2 stdenv.mkDerivation rec {
3   pname = "gsmlib";
4   version = "unstable-2017-10-06";
6   src = fetchFromGitHub {
7     owner = "x-logLT";
8     repo = "gsmlib";
9     rev = "4f794b14450132f81673f7d3570c5a859aecf7ae";
10     sha256 = "16v8aj914ac1ipf14a867ljib3gy7fhzd9ypxnsg9l0zi8mm3ml5";
11   };
13   nativeBuildInputs = [ autoreconfHook ];
15   env.NIX_CFLAGS_COMPILE = toString [
16     # Needed with GCC 12
17     "-std=c++14"
18   ];
20   meta = with lib; {
21     description = "Library to access GSM mobile phones through GSM modems";
22     homepage = "https://github.com/x-logLT/gsmlib";
23     license = licenses.lgpl2;
24     platforms = platforms.linux;
25     maintainers = [ maintainers.misuzu ];
26   };