Skip to content

Instantly share code, notes, and snippets.

@mguijarr
Created August 2, 2016 11:36
Show Gist options
  • Save mguijarr/b3e324a0880f0edf151fa838b7b583b5 to your computer and use it in GitHub Desktop.
Save mguijarr/b3e324a0880f0edf151fa838b7b583b5 to your computer and use it in GitHub Desktop.
Nix expression for Tango library
{ 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