nur-packages

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

default.nix (675B)


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