1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/misc/units/default.nix
R. RyanTM f188b63b6a units: 2.16 -> 2.17
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.

These checks were done:

- built on NixOS
- /nix/store/31sfwbmnw4vpchikbc0fv88hwqa6j7pk-units-2.17/bin/units passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 2.17 with grep in /nix/store/31sfwbmnw4vpchikbc0fv88hwqa6j7pk-units-2.17
- directory tree listing: https://gist.github.com/9398a46bc8272d0edd66c877ba0cd160
- du listing: https://gist.github.com/d78a308aacca7211f8470bf140a8c773
2018-06-27 12:03:25 -07:00

24 lines
539 B
Nix

{ stdenv, fetchurl, readline }:
stdenv.mkDerivation rec {
name = "units-${version}";
version = "2.17";
src = fetchurl {
url = "mirror://gnu/units/${name}.tar.gz";
sha256 = "1n2xzpnxfn475zkd8rzs5gg58xszjbr4bdbgvk6hryzimvwwj0qz";
};
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 ];
};
}