Unverified Commit d8bd6e68 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

procfd: init at 1.1.0 (#423769)

parents ea38b23a 2d3594f3
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -6263,6 +6263,12 @@
    githubId = 21953890;
    name = "Tim Digel";
  };
  despsyched = {
    email = "priyanshu.tripathi@deshaw.com";
    github = "despsyched";
    githubId = 196187334;
    name = "Priyanshu Tripathi";
  };
  desttinghim = {
    email = "opensource@louispearson.work";
    matrix = "@desttinghim:matrix.org";
+1 −0
Original line number Diff line number Diff line
@@ -326,6 +326,7 @@ with lib.maintainers;
    # Verify additions to this team with at least one already existing member of the team.
    members = [
      de11n
      despsyched
      invokes-su
    ];
    scope = "Group registration for D. E. Shaw employees who collectively maintain packages.";
+35 −0
Original line number Diff line number Diff line
{
  fetchFromGitHub,
  lib,
  rustPlatform,
  versionCheckHook,
}:

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "procfd";
  version = "1.1.0";

  src = fetchFromGitHub {
    owner = "deshaw";
    repo = "procfd";
    tag = "v${finalAttrs.version}";
    hash = "sha256-M2VFy7WqvoxgzEpS0qd7nGLRt2pKGZlfU9uUHlwDC7Y=";
  };

  cargoHash = "sha256-YmUzcJ8SM3iwjeDZXWBrDcT793ZyF6QdwxuYDh69xZw=";

  nativeInstallCheckInputs = [
    versionCheckHook
  ];
  versionCheckProgramArg = "--version";
  doInstallCheck = true;

  meta = {
    description = "Linux lsof replacement to list open file descriptors for processes";
    homepage = "https://github.com/deshaw/procfd";
    license = lib.licenses.bsd3;
    mainProgram = "procfd";
    platforms = lib.platforms.linux;
    teams = with lib.teams; [ deshaw ];
  };
})