1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 00:25:24 +00:00
nixpkgs/pkgs/applications/misc/libosmocore/default.nix
2021-01-16 23:49:59 -08:00

38 lines
779 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
, pcsclite, talloc, python2, gnutls
}:
stdenv.mkDerivation rec {
pname = "libosmocore";
version = "1.2.0";
src = fetchFromGitHub {
owner = "osmocom";
repo = "libosmocore";
rev = version;
sha256 = "1535y6r4csvslrxcki80ya6zhhc5jw2nvy9bymb55ln77pf853vg";
};
propagatedBuildInputs = [
talloc
];
nativeBuildInputs = [
autoreconfHook pkg-config
];
buildInputs = [
pcsclite python2 gnutls
];
enableParallelBuilding = true;
meta = with lib; {
description = "Set of Osmocom core libraries";
homepage = "https://github.com/osmocom/libosmocore";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ mog ];
};
}