aboutsummaryrefslogblamecommitdiff
path: root/default.nix
blob: 10b2b3923ca4fa79bfeff25cbe56cf096009a217 (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 = "707bb2080c35944b14da57f13310c4bad61259fe";

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

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

      checkInputs = with pkgs; [ m4 ];
      doCheck = true;

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