10000 GitHub - rx342/nix-vitamtp: VitaMTP with Nix
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rx342/nix-vitamtp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nix-vitamtp

Packaging codestation/vitamtp with Nix.

It might work using a different source code (e.g. yifanlu/VitaMTP or other forks) but I did not try it. It is mainly written to be used with rx342/nix-qcma.

Tested on x86_64-linux.

Why and how?

vitamtp is an "old" package (2.5.9 dates back to 2016) which makes it tricky to build today. With Nix and pinned dependencies, we are sure that it will work forever™ (for legal reasons: this is a joke).

  • An old version of libxml2 is required (we use 2.9.14 in this repository)
    • Defined in the overlay
    • Needs to be built from source, which increases build time

Installation

git clone https://github.com/rx342/nix-vitamtp.git

Usage

Build library

nix-build -A libvitamtp

udev rule

To be able to detect your PS VITA you need to add an udev rule. You can download it from codestation/vitamtp or do it from this repository (it does the same thing). If you decide to install from this repository, choose one of the following method according to your Linux distribution.

NixOS

You need to add the following to your configuration.nix

imports = [ "${./path/to/nix-vitamtp}/modules/nixos.nix" ];

and you can check that /etc/udev/rules.d/60-psvita.rules exists.

Other Linux distributions

cd nix-vitamtp
nix-build -A udev

sudo cp ./result/lib/udev/rules.d/60-psvita.rules /usr/lib/udev/rules.d/

About

VitaMTP with Nix

Topics

Resources

License

Stars

Watchers

Forks

Languages

0