ucg: cosmetical rewrite
This commit is contained in:
@@ -1,19 +1,20 @@
|
||||
{ lib, stdenv
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, pcre
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ucg";
|
||||
version = "0.3.3+date=2019-02-25";
|
||||
version = "unstable-2019-02-25";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gvansickle";
|
||||
repo = pname;
|
||||
repo = "ucg";
|
||||
rev = "c3a67632f1e3f332bfb102f0db167f34a2e42da7";
|
||||
sha256 = "sha256-/wU1PmI4ejlv7gZzZNasgROYXFiDiIxE9BFoCo6+G5Y=";
|
||||
hash = "sha256-/wU1PmI4ejlv7gZzZNasgROYXFiDiIxE9BFoCo6+G5Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -40,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/gvansickle/ucg/";
|
||||
description = "Grep-like tool for searching large bodies of source code";
|
||||
longDescription = ''
|
||||
@@ -49,10 +50,10 @@ stdenv.mkDerivation rec {
|
||||
command-line compatible with Ack, to some extent with ag, and where
|
||||
appropriate with grep. Search patterns are specified as PCRE regexes.
|
||||
'';
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = with platforms; unix;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
platforms = lib.platforms.unix;
|
||||
broken = stdenv.isAarch64; # cpuid.h: no such file or directory
|
||||
};
|
||||
}
|
||||
})
|
||||
# TODO: report upstream
|
||||
|
||||
Reference in New Issue
Block a user