nur-packages

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

default.nix (620B)


      1 { lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses }:
      2 
      3 stdenv.mkDerivation rec {
      4   pname = "se";
      5   version = "3.0.1";
      6 
      7   src = fetchFromGitHub {
      8     owner = "screen-editor";
      9     repo = "se";
     10     rev = "se-${version}";
     11     hash = "sha256-2LyYZXaL/Q3G/StCUiY6MUXG55g2YQvkpoF/lcsifD8=";
     12   };
     13 
     14   nativeBuildInputs = [ autoreconfHook ];
     15 
     16   buildInputs = [ ncurses ];
     17 
     18   meta = with lib; {
     19     description = "screen oriented version of the classic UNIX text editor ed";
     20     inherit (src.meta) homepage;
     21     license = licenses.publicDomain;
     22     platforms = platforms.unix;
     23     maintainers = [ maintainers.sikmir ];
     24   };
     25 }