2015-12-14 17:27:31 +00:00
|
|
|
{ stdenv, fetchurl, readline }:
|
|
|
|
|
2015-10-20 08:38:25 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "units-${version}";
|
2018-01-28 18:28:04 +00:00
|
|
|
version = "2.16";
|
2007-06-20 16:15:51 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-10-20 08:38:25 +01:00
|
|
|
url = "mirror://gnu/units/${name}.tar.gz";
|
2018-01-28 18:28:04 +00:00
|
|
|
sha256 = "11hnp3gcmcc5kci2caxw4hs6m08h2mhqs3xzqq7iafx1ha2ggwyw";
|
2007-06-20 16:15:51 +01:00
|
|
|
};
|
2007-06-26 12:49:45 +01:00
|
|
|
|
2015-12-14 17:27:31 +00:00
|
|
|
buildInputs = [ readline ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Unit conversion tool";
|
2015-12-14 17:27:31 +00:00
|
|
|
homepage = https://www.gnu.org/software/units/;
|
|
|
|
license = [ licenses.gpl3Plus ];
|
2016-06-23 08:03:59 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.vrthra ];
|
2007-06-26 12:49:45 +01:00
|
|
|
};
|
2007-06-20 16:15:51 +01:00
|
|
|
}
|