Skip to content

Commit

Permalink
pipet: init at 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bjesus committed Sep 22, 2024
1 parent 83d6e95 commit 7c40828
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pkgs/by-name/pi/pipet/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
lib,
fetchFromGitHub,
buildGoModule,
}:

buildGoModule rec {
pname = "pipet";
version = "0.2.1";

src = fetchFromGitHub {
owner = "bjesus";
repo = "pipet";
rev = version;
hash = "sha256-PqOx/aFI5gHt78th1nkSKlTGw/r1eU7Ggz5kvtjMCmI=";
};

vendorHash = "sha256-jNIjF5jxcpNLAjuWo7OG/Ac4l6NpQNCKzYUgdAoL+C4=";

ldflags = [
"-s"
"-w"
"-X main.version=${version}"
"-X main.currentSha=${src.rev}"
];

doCheck = false; # Requires network

meta = {
homepage = "https://github.com/bjesus/pipet";
description = "Scraping and extracting data from online assets";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bjesus ];
mainProgram = "pipet";
};
}

0 comments on commit 7c40828

Please sign in to comment.