nur-packages

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

default.nix (728B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchFromGitHub,
      5   cmake,
      6   ftxui,
      7   subprocess,
      8 }:
      9 
     10 stdenv.mkDerivation (finalAttrs: {
     11   pname = "git-tui";
     12   version = "1.1.0";
     13 
     14   src = fetchFromGitHub {
     15     owner = "ArthurSonzogni";
     16     repo = "git-tui";
     17     rev = "v${finalAttrs.version}";
     18     hash = "sha256-RogDZeDgC7HanPd0I+BuU9CShUzaIqvH1R7/I1tAtG4=";
     19   };
     20 
     21   patches = [ ./subprocess.patch ];
     22 
     23   nativeBuildInputs = [ cmake ];
     24 
     25   buildInputs = [
     26     ftxui
     27     subprocess
     28   ];
     29 
     30   meta = {
     31     description = "Collection of human friendly terminal interface for git";
     32     homepage = "https://github.com/ArthurSonzogni/git-tui";
     33     license = lib.licenses.mit;
     34     maintainers = [ lib.maintainers.sikmir ];
     35     platforms = lib.platforms.unix;
     36   };
     37 })