mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
Merge pull request #11719 from rycee/fix/units
units: add readline dependency
This commit is contained in:
commit
a01e7fed27
@ -1,4 +1,5 @@
|
||||
{stdenv, fetchurl}:
|
||||
{ stdenv, fetchurl, readline }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "units-${version}";
|
||||
version = "2.12";
|
||||
@ -8,8 +9,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1jxvjknz2jhq773jrwx9gc1df3gfy73yqmkjkygqxzpi318yls3q";
|
||||
};
|
||||
|
||||
meta = {
|
||||
buildInputs = [ readline ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Unit conversion tool";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
homepage = https://www.gnu.org/software/units/;
|
||||
license = [ licenses.gpl3Plus ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user