aboutsummaryrefslogblamecommitdiff
path: root/default.nix
blob: 7de8e4f4bcd81f3e4c90c2c014deb04654be0fea (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 = "90f2352c78b921c50f4c8547baa609c272248c30";

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

      makeFlags = [ "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;
      };
    };
  };
}