diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/misc/libosmocore')
-rw-r--r-- | nixpkgs/pkgs/applications/misc/libosmocore/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/misc/libosmocore/default.nix b/nixpkgs/pkgs/applications/misc/libosmocore/default.nix new file mode 100644 index 000000000000..4b3654f9a97b --- /dev/null +++ b/nixpkgs/pkgs/applications/misc/libosmocore/default.nix @@ -0,0 +1,37 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig +, pcsclite, talloc, python2, gnutls +}: + +stdenv.mkDerivation rec { + name = "libosmocore-${version}"; + version = "1.0.1"; + + src = fetchFromGitHub { + owner = "osmocom"; + repo = "libosmocore"; + rev = version; + sha256 = "08xbj2calh1zkp79kxbq01vnh0y7nkgd4cgsivrzlyqahilbzvd9"; + }; + + 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 ]; + }; +} |