nixpkgs/pkgs/tools/text/agrep/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

26 lines
694 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "agrep-${version}";
version = "3.41.5";
src = fetchFromGitHub {
owner = "Wikinaut";
repo = "agrep";
# This repository has numbered versions, but not Git tags.
rev = "eef20411d605d9d17ead07a0ade75046f2728e21";
sha256 = "14addnwspdf2mxpqyrw8b84bb2257y43g5ccy4ipgrr91fmxq2sk";
};
installPhase = ''
install -Dm 555 agrep -t "$out/bin"
install -Dm 444 docs/* -t "$out/doc"
'';
meta = {
description = "Approximate grep for fast fuzzy string searching";
homepage = https://www.tgries.de/agrep/;
license = stdenv.lib.licenses.isc;
platforms = stdenv.lib.platforms.linux;
};
}