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