nixpkgs/pkgs/tools/misc/units/default.nix
R. RyanTM c0148f53fc units: 2.18 -> 2.19
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/units/versions
2019-06-23 14:11:41 +02:00

24 lines
539 B
Nix

{ stdenv, fetchurl, readline }:
stdenv.mkDerivation rec {
name = "units-${version}";
version = "2.19";
src = fetchurl {
url = "mirror://gnu/units/${name}.tar.gz";
sha256 = "0mk562g7dnidjgfgvkxxpvlba66fh1ykmfd9ylzvcln1vxmi6qj2";
};
buildInputs = [ readline ];
doCheck = true;
meta = with stdenv.lib; {
description = "Unit conversion tool";
homepage = https://www.gnu.org/software/units/;
license = [ licenses.gpl3Plus ];
platforms = platforms.all;
maintainers = [ maintainers.vrthra ];
};
}