Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.02 KB

README.rst

File metadata and controls

42 lines (27 loc) · 1.02 KB

iplay

https://circleci.com/gh/igsha/iplay.svg?style=svg

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