tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: rust crate package help
Santhosh Raju transcribed 843 bytes:
> On Sun, Jul 7, 2019 at 12:24 PM <ng0%n0.is@localhost> wrote:
> >
> > Hi,
> >
> > https://github.com/dcuddeback/termios-rs/pull/22
> > stopped me while working on packaging nary.
> >
> > backporting this patch would require adjusting the
> > cargo checksums in the ../vendors/termios-0.3.1/
> > folder.
> >
> > Is there any support for defining pkgsrc crates
> > in pkgsrc packages? In other words, one soution
> > I can think about is packaging termios once + patching it
> > and then adjusting all checksums in packages which use it
> > according.
> > Or maybe I'm way off with this approach.
>
> I had a similar issue with termios with trying to package "bat"[1]
>
> I ended up using the pkgsrc patch-phase to apply the upstream patch
> from termios mentioned above.
>
> I do not know if this is the right way, but it does get the package to run.
Well it is a way which works.
Thanks!
I was hoping that this could be more generalized and not rely
on external package distributors so much. Especially npm has
a tendency to assume too much.
I hope upstream merges the 3 system specific patches soon.
> 1. http://pkgsrc.se/wip/bat
>
> Regards
> Santhosh
Home |
Main Index |
Thread Index |
Old Index