depot/third_party/nixpkgs/pkgs/tools/X11/dex/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

25 lines
694 B
Nix

{ stdenv, fetchFromGitHub, python3 }:
stdenv.mkDerivation rec {
program = "dex";
name = "${program}-${version}";
version = "0.9.0";
src = fetchFromGitHub {
owner = "jceb";
repo = program;
rev = "v${version}";
sha256 = "03aapcywnz4kl548cygpi25m8adwbmqlmwgxa66v4156ax9dqs86";
};
propagatedBuildInputs = [ python3 ];
nativeBuildInputs = [ python3.pkgs.sphinx ];
makeFlags = [ "PREFIX=$(out)" "VERSION=$(version)" ];
meta = with stdenv.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;
};
}