2020-07-29 05:43:34 +00:00
|
|
|
{ stdenv, fetchFromGitHub, python3 }:
|
2015-10-14 15:11:22 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
program = "dex";
|
|
|
|
name = "${program}-${version}";
|
2020-06-16 15:58:01 +00:00
|
|
|
version = "0.9.0";
|
2015-10-14 15:11:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jceb";
|
|
|
|
repo = program;
|
|
|
|
rev = "v${version}";
|
2020-06-16 15:58:01 +00:00
|
|
|
sha256 = "03aapcywnz4kl548cygpi25m8adwbmqlmwgxa66v4156ax9dqs86";
|
2015-10-14 15:11:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ python3 ];
|
2018-08-26 20:14:17 +00:00
|
|
|
nativeBuildInputs = [ python3.pkgs.sphinx ];
|
2015-10-14 15:11:22 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" "VERSION=$(version)" ];
|
|
|
|
|
2018-09-12 19:56:37 +00:00
|
|
|
meta = with stdenv.lib; {
|
2015-10-14 15:11:22 +00:00
|
|
|
description = "A program to generate and execute DesktopEntry files of the Application type";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/jceb/dex";
|
2018-09-12 19:56:37 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3Plus;
|
2015-10-14 15:11:22 +00:00
|
|
|
};
|
|
|
|
}
|