nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (750B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchFromGitHub,
      5   cmake,
      6   doxygen,
      7   boost,
      8   fmt,
      9   gsl-lite,
     10   gtest,
     11 }:
     12 
     13 stdenv.mkDerivation (finalAttrs: {
     14   pname = "terminalpp";
     15   version = "3.1.0";
     16 
     17   src = fetchFromGitHub {
     18     owner = "KazDragon";
     19     repo = "terminalpp";
     20     rev = "v${finalAttrs.version}";
     21     hash = "sha256-aD80uiZKyYRD2C7Oi+ESode6YZ0/KQUSor3u6nb5OD8=";
     22   };
     23 
     24   nativeBuildInputs = [
     25     cmake
     26     doxygen
     27   ];
     28 
     29   buildInputs = [
     30     boost
     31     fmt
     32     gsl-lite
     33     gtest
     34   ];
     35 
     36   meta = {
     37     description = "A C++ library for interacting with ANSI terminal windows";
     38     homepage = "https://github.com/KazDragon/terminalpp";
     39     license = lib.licenses.mit;
     40     maintainers = [ lib.maintainers.sikmir ];
     41     platforms = lib.platforms.unix;
     42   };
     43 })