katja's 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 
{ applyPatches, fetchFromGitHub, mkYarnPackage, buildGo123Module, lib, ffmpeg, makeWrapper, installShellFiles, ... }:

buildGo123Module rec {
  pname   = "slurp";
  version = "0.0.0-${builtins.substring 0 6 rev}";
  rev     = "8350b6e1b9d9d6f7ca47bfe6cdd436a7a8c69257";
  sha256  = "sha256-uKdbs7ta2O+ZtyFmJEVFFEwNR1DlqSSGRpkQaZEu1M4=";


  src = fetchFromGitHub {
    owner  = "VyrCossont";
    repo   = "slurp";
    inherit rev sha256;
  };

  vendorHash = "sha256-e8uEC6aRFdhhBTpUyOpv6ZWfQl9FE8EVEdEyBJFcYp4=";

  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;
  };
}