nixpkgs/pkgs/tools/misc/units/default.nix

24 lines
539 B
Nix
Raw Normal View History

{ stdenv, fetchurl, readline }:
stdenv.mkDerivation rec {
name = "units-${version}";
2018-01-28 18:28:04 +00:00
version = "2.16";
src = fetchurl {
url = "mirror://gnu/units/${name}.tar.gz";
2018-01-28 18:28:04 +00:00
sha256 = "11hnp3gcmcc5kci2caxw4hs6m08h2mhqs3xzqq7iafx1ha2ggwyw";
};
buildInputs = [ readline ];
doCheck = true;
meta = with stdenv.lib; {
description = "Unit conversion tool";
homepage = https://www.gnu.org/software/units/;
license = [ licenses.gpl3Plus ];
2016-06-23 08:03:59 +01:00
platforms = platforms.all;
maintainers = [ maintainers.vrthra ];
};
}