mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
38 lines
761 B
Nix
38 lines
761 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
|
, 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 pkgconfig
|
|
];
|
|
|
|
buildInputs = [
|
|
pcsclite python2 gnutls
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "libosmocore";
|
|
homepage = "https://github.com/osmocom/libosmocore";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ mog ];
|
|
};
|
|
}
|