Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
33 lines
726 B
Nix
33 lines
726 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
}:
|
|
stdenv.mkDerivation {
|
|
pname = "gsmlib";
|
|
version = "unstable-2017-10-06";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "x-logLT";
|
|
repo = "gsmlib";
|
|
rev = "4f794b14450132f81673f7d3570c5a859aecf7ae";
|
|
sha256 = "16v8aj914ac1ipf14a867ljib3gy7fhzd9ypxnsg9l0zi8mm3ml5";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
env.NIX_CFLAGS_COMPILE = toString [
|
|
# Needed with GCC 12
|
|
"-std=c++14"
|
|
];
|
|
|
|
meta = with lib; {
|
|
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 ];
|
|
};
|
|
}
|