aboutsummaryrefslogblamecommitdiff
path: root/default.nix
blob: a3610431346ec46133cafd201d8669959a1df9e9 (plain) (tree)
1
2
3
4
5
6
7
8
9
         

                  

                                              
                                                           


                          
                                                                                
                                                                        

        
                                      
 
                     



                                                             


                                                             


                                   
      
    
 
{ pkgs }:
self: super: {
  xyz-euandreh = {
    td-latest = pkgs.stdenv.mkDerivation rec {
      name = "td";
      version = "7a1d07c1051ff48f17c915f99e20b629ed0a6a70";

      src = fetchTarball {
        url =
          "https://euandreh.xyz/${name}.git/snapshot/${name}-${version}.tar.gz";
        sha256 = "0nfawz4bs5rihgz7943z3w4izxb4isx8k2ixkzv8977f1v3swj6j";
      };

      makeFlags = [ "PREFIX=$(out)" ];

      doCheck = true;

      meta = with pkgs.lib; {
        description = readFile "${src}/description";
        longDescription = readFile "${src}/long-description";
        homepage = "https://euandreh.xyz/td/";
        changelog = "https://euandreh.xyz/td/CHANGELOG.html";
        downloadPage = "https://euandreh.xyz/td/#releases";
        license = licenses.agpl3;
        platforms = platforms.unix;
      };
    };
  };
}