Skip to content

igsha/iplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iplay

image

An interactive player for terminal.

Installation

On NixOS:

  1. nix-env -f https://api.github.com/repos/igsha/iplay/tarball/master -i -E 'f: with import <nixpkgs> {}; callPackage f {}'
  2. Or write
    • iplay = pkgs.callPackage (fetchTarball https://api.github.com/repos/igsha/iplay/tarball/master) {}; into your nix-override
    • use nix-env -i iplay

For Ubuntu-like OS there is a deb-package on release page.

Building & debugging

On NixOS:

  1. Development environment with all packages to manually build package:

    $ nix-shell .
    (impure) $ mkdir build && cd build
    (impure)/build $ cmake -DCPACK_GENERATOR=DEB ..
    (impure)/build $ make -j package
  2. Test package:

    $ nix-build -E 'with import <nixpkgs> {}; callPackage ./. {}'
    $ nix-shell -p ./result
    (impure) $ iplay -v