mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
f188b63b6a
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
24 lines
539 B
Nix
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 ];
|
|
};
|
|
}
|