Merge pull request #173044 from marsam/add-paperoni

paperoni: init at 0.6.1-alpha1
This commit is contained in:
Mario Rodas 2022-05-15 15:21:06 -05:00 committed by GitHub
commit 9e3872c3e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "paperoni";
version = "0.6.1-alpha1";
src = fetchFromGitHub {
owner = "hipstermojo";
repo = pname;
rev = "v${version}";
sha256 = "sha256-vTylnDtoPpiRtk/vew1hLq3g8pepWRVqBEBnvSif4Zw=";
};
cargoSha256 = "sha256-iLEIGuVB9ykNcwbXk/donDdBuMvitM54Ax6bszVGaO0=";
nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ];
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
++ lib.optionals stdenv.isDarwin [ Security ];
meta = with lib; {
description = "An article extractor in Rust";
homepage = "https://github.com/hipstermojo/paperoni";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
};
}

View file

@ -9175,6 +9175,10 @@ with pkgs;
paperless-ngx = callPackage ../applications/office/paperless-ngx { };
paperoni = callPackage ../tools/text/paperoni {
inherit (darwin.apple_sdk.frameworks) Security;
};
paperwork = callPackage ../applications/office/paperwork/paperwork-gtk.nix { };
papertrail = callPackage ../tools/text/papertrail { };