2015-12-14 17:27:31 +00:00
|
|
|
{ stdenv, fetchurl, readline }:
|
|
|
|
|
2015-10-20 07:38:25 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "units-${version}";
|
|
|
|
version = "2.12";
|
2007-06-20 15:15:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-10-20 07:38:25 +00:00
|
|
|
url = "mirror://gnu/units/${name}.tar.gz";
|
|
|
|
sha256 = "1jxvjknz2jhq773jrwx9gc1df3gfy73yqmkjkygqxzpi318yls3q";
|
2007-06-20 15:15:51 +00:00
|
|
|
};
|
2007-06-26 11:49:45 +00:00
|
|
|
|
2015-12-14 17:27:31 +00:00
|
|
|
buildInputs = [ readline ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2013-10-06 09:49:53 +00:00
|
|
|
description = "Unit conversion tool";
|
2015-12-14 17:27:31 +00:00
|
|
|
homepage = https://www.gnu.org/software/units/;
|
|
|
|
license = [ licenses.gpl3Plus ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2007-06-26 11:49:45 +00:00
|
|
|
};
|
2007-06-20 15:15:51 +00:00
|
|
|
}
|