summary refs log blame commit diff
path: root/pkgs/development/libraries/udunits/default.nix
blob: 664bc29a72de3264c4d26f08841d2d04ad927c93 (plain) (tree)
1
2
3
4
5

                                          


                         








                                                                    
 

                                                                 
 






                                                                                                   
 
{ stdenv, fetchFromGitHub, autoreconfHook,
  texinfo, bison, flex, expat, file
}:

stdenv.mkDerivation rec {
  name = "udunits-${version}";
  version = "2.2.27.6";
  
  src = fetchFromGitHub {
    owner = "Unidata";
    repo = "UDUNITS-2";
    rev = "v${version}";
    sha256 = "0621pac24c842dyipzaa59rh6pza9phdqi3snd4cq4pib0wjw6gm";
  };

  nativeBuildInputs = [ autoreconfHook texinfo bison flex file ];
  buildInputs = [ expat ];

  meta = with stdenv.lib; {
    homepage = https://www.unidata.ucar.edu/software/udunits/;
    description = "A C-based package for the programatic handling of units of physical quantities";
    license = licenses.bsdOriginal;
    platforms = platforms.linux;
    maintainers = with maintainers; [ pSub ];
  };
}