ctucx.git: nixfiles

ctucx' nixfiles

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
27 
28 
29 
30 
31 
{ applyPatches, fetchFromGitHub, mkYarnPackage, buildGo123Module, lib, ffmpeg, makeWrapper, installShellFiles, ... }:

buildGo123Module rec {
  pname   = "slurp";
  version = "0.0.0-${builtins.substring 0 6 rev}";
  rev     = "6f9918736698dc98d8117b09865c0425ed8dd047";
  sha256  = "sha256-q1e/uq2YWAB4119fV7CEdmP5ZIT+2/Vh3eldv5h+Pt8=";


  src = applyPatches {
    src = fetchFromGitHub {
      owner  = "VyrCossont";
      repo   = "slurp";
      inherit rev sha256;
    };
    patches = [];
  };

  vendorHash = "sha256-FcKXleRCM+9BwGs3Sj7SrIH4wYaP2AaDHzPYGJ/iYUA=";

  nativeBuildInputs     = [ installShellFiles ];
  buildInputs           = [ makeWrapper ];

  doCheck = false;

  meta = with lib; {
    description = "tool for exporting data from and importing data to Fediverse instances";
    homepage    = "https://github.com/VyrCossont/slurp";
    platforms   = platforms.linux;
  };
}