nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

at devShellTools-shell 56 lines 1.7 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 pkg-config, 6 python3, 7}: 8 9stdenv.mkDerivation rec { 10 11 pname = "omniorb"; 12 version = "4.3.3"; 13 14 src = fetchurl { 15 url = "mirror://sourceforge/project/omniorb/omniORB/omniORB-${version}/omniORB-${version}.tar.bz2"; 16 hash = "sha256-rM0l4stwxOM+0iew2T6WaeOMRgGWN4h8dxOYhw7UXno="; 17 }; 18 19 nativeBuildInputs = [ pkg-config ]; 20 buildInputs = [ python3 ]; 21 22 enableParallelBuilding = true; 23 hardeningDisable = [ "format" ]; 24 25 # Transform omniidl_be into a PEP420 namespace to allow other projects to define 26 # their omniidl backends. Especially useful for omniorbpy, the python backend. 27 postInstall = '' 28 rm $out/${python3.sitePackages}/omniidl_be/__init__.py 29 rm $out/${python3.sitePackages}/omniidl_be/__pycache__/__init__.*.pyc 30 ''; 31 32 # Ensure postInstall didn't break cxx backend 33 # Same as 'pythonImportsCheck = ["omniidl_be.cxx"];', but outside buildPythonPackage 34 doInstallCheck = true; 35 postInstallCheck = '' 36 export PYTHONPATH=$out/${python3.sitePackages}:$PYTHONPATH 37 ${lib.getExe python3} -c "import omniidl_be.cxx" 38 ''; 39 40 meta = with lib; { 41 description = "Robust high performance CORBA ORB for C++ and Python"; 42 longDescription = '' 43 omniORB is a robust high performance CORBA ORB for C++ and Python. 44 It is freely available under the terms of the GNU Lesser General Public License 45 (for the libraries),and GNU General Public License (for the tools). 46 omniORB is largely CORBA 2.6 compliant. 47 ''; 48 homepage = "http://omniorb.sourceforge.net/"; 49 license = with licenses; [ 50 gpl2Plus 51 lgpl21Plus 52 ]; 53 maintainers = with maintainers; [ smironov ]; 54 platforms = platforms.unix; 55 }; 56}