summary refs log blame commit diff
path: root/pkgs/tools/X11/dex/default.nix
blob: c0d1c5e6e4a18499b27d01fda3ecad8cad693332 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                          

                         
                
                    


                         
                 
                        
                                                                    


                                      
                                              

                                                       
                    
                                                                                                 
                                             

                                

    
{ lib, stdenv, fetchFromGitHub, python3 }:

stdenv.mkDerivation rec {
  pname = "dex";
  version = "0.9.0";

  src = fetchFromGitHub {
    owner = "jceb";
    repo = pname;
    rev = "v${version}";
    sha256 = "03aapcywnz4kl548cygpi25m8adwbmqlmwgxa66v4156ax9dqs86";
  };

  propagatedBuildInputs = [ python3 ];
  nativeBuildInputs = [ python3.pkgs.sphinx ];
  makeFlags = [ "PREFIX=$(out)" "VERSION=$(version)" ];

  meta = with lib; {
    description = "A program to generate and execute DesktopEntry files of the Application type";
    homepage = "https://github.com/jceb/dex";
    platforms = platforms.linux;
    license = licenses.gpl3Plus;
  };
}