Unverified Commit bb758557 authored by Felix Bargfeldt's avatar Felix Bargfeldt Committed by GitHub
Browse files

{topfew, topfew-rs}: add liberodark to maintainers (#458432)

parents fc255f64 d2b2bd34
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -4,24 +4,24 @@
  fetchFromGitHub,
}:

rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "topfew-rs";
  version = "0.2.3";

  src = fetchFromGitHub {
    owner = "djc";
    repo = "topfew-rs";
    rev = version;
    tag = finalAttrs.version;
    hash = "sha256-VlSLPcKw3LYGnmKk5YOkcGIizw1tqtKF2BykY+1MtvY=";
  };

  cargoHash = "sha256-NAM/s3m+ZqgHoX6GESgJOxr88sy4+JieWB8u8aKbW7Y=";

  meta = with lib; {
  meta = {
    description = "Rust implementation of Tim Bray's topfew tool";
    homepage = "https://github.com/djc/topfew-rs";
    license = licenses.gpl3Only;
    maintainers = [ ];
    maintainers = with lib.maintainers; [ liberodark ];
    license = lib.licenses.gpl3Only;
    mainProgram = "tf";
  };
}
})
+6 −7
Original line number Diff line number Diff line
@@ -5,14 +5,14 @@
  installShellFiles,
}:

buildGoModule rec {
buildGoModule (finalAttrs: {
  pname = "topfew";
  version = "2.0.0";

  src = fetchFromGitHub {
    owner = "timbray";
    repo = "topfew";
    rev = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-P3K3IhgYkrxmEG2l7EQDVWQ+P7fOjUMUFrlAnY+8NmI=";
  };

@@ -24,18 +24,17 @@ buildGoModule rec {

  ldflags = [
    "-s"
    "-w"
  ];

  postInstall = ''
    installManPage doc/tf.1
  '';

  meta = with lib; {
  meta = {
    description = "Finds the fields (or combinations of fields) which appear most often in a stream of records";
    homepage = "https://github.com/timbray/topfew";
    license = licenses.gpl3Only;
    maintainers = [ ];
    maintainers = with lib.maintainers; [ liberodark ];
    license = lib.licenses.gpl3Only;
    mainProgram = "tf";
  };
}
})