2015-10-14 16:11:22 +01:00
|
|
|
{ stdenv, fetchFromGitHub, python3 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
program = "dex";
|
|
|
|
name = "${program}-${version}";
|
2018-08-26 21:14:17 +01:00
|
|
|
version = "0.8.0";
|
2015-10-14 16:11:22 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jceb";
|
|
|
|
repo = program;
|
|
|
|
rev = "v${version}";
|
2018-08-26 21:14:17 +01:00
|
|
|
sha256 = "13dkjd1373mbvskrdrp0865llr3zvdr90sc6a6jqswh3crmgmz4k";
|
2015-10-14 16:11:22 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ python3 ];
|
2018-08-26 21:14:17 +01:00
|
|
|
nativeBuildInputs = [ python3.pkgs.sphinx ];
|
2015-10-14 16:11:22 +01:00
|
|
|
makeFlags = [ "PREFIX=$(out)" "VERSION=$(version)" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A program to generate and execute DesktopEntry files of the Application type";
|
|
|
|
homepage = https://github.com/jceb/dex;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|