2023-06-21 08:31:56 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
python3,
|
|
|
|
sphinx,
|
|
|
|
}:
|
2015-10-14 15:11:22 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-11-29 18:24:13 +00:00
|
|
|
pname = "dex";
|
2024-08-09 00:53:21 +00:00
|
|
|
version = "0.10.1";
|
2015-10-14 15:11:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jceb";
|
2021-11-29 18:24:13 +00:00
|
|
|
repo = pname;
|
2015-10-14 15:11:22 +00:00
|
|
|
rev = "v${version}";
|
2024-08-09 00:53:21 +00:00
|
|
|
sha256 = "sha256-1fgSz4f6W+Dr3mo4vQY8buD2dNC8RBMGrwCTOIzH7rQ=";
|
2015-10-14 15:11:22 +00:00
|
|
|
};
|
|
|
|
|
2023-06-21 08:31:56 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ sphinx ];
|
|
|
|
buildInputs = [ python3 ];
|
2015-10-14 15:11:22 +00:00
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
"VERSION=$(version)"
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-10-14 15:11:22 +00:00
|
|
|
description = "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;
|
2023-06-21 08:31:56 +00:00
|
|
|
maintainers = with maintainers; [ nickcao ];
|
2023-11-23 21:09:35 +00:00
|
|
|
mainProgram = "dex";
|
2015-10-14 15:11:22 +00:00
|
|
|
};
|
|
|
|
}
|