Created
August 2, 2016 11:36
-
-
Save mguijarr/b3e324a0880f0edf151fa838b7b583b5 to your computer and use it in GitHub Desktop.
Nix expression for Tango library
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, fetchurl, pkgconfig, zlib, omniorb, zeromq }: | |
let version = "9.2.2"; in | |
let verName = "${version}"; in | |
stdenv.mkDerivation rec { | |
name = "tango-${verName}"; | |
src = fetchurl { | |
url = "http://downloads.sourceforge.net/project/tango-cs/${name}.tar.gz"; | |
sha256 = "0fyppn1n8aj1q3d88vxwyzn90vk4m4iwlh7vgngwpjzwl8az56dx"; | |
}; | |
patches = [ | |
./config.h.patch | |
./pc.patch | |
]; | |
buildInputs = [ pkgconfig zlib omniorb zeromq ]; | |
propagatedBuildInputs = [ ]; | |
enableParallelBuilding = true; | |
requiredSystemFeatures = [ "big-parallel" ]; | |
meta = with stdenv.lib; { | |
description = "Tango Control System library"; | |
homepage = http://www.tango-controls.org/; | |
license = licenses.lgpl3; | |
maintainers = [ ]; | |
platforms = platforms.linux; | |
}; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment