2023-06-21 09:31:56 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
|
|
|
, sphinx
|
|
|
|
}:
|
2015-10-14 16:11:22 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-11-29 18:24:13 +00:00
|
|
|
pname = "dex";
|
2024-08-09 01:53:21 +01:00
|
|
|
version = "0.10.1";
|
2015-10-14 16:11:22 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jceb";
|
2021-11-29 18:24:13 +00:00
|
|
|
repo = pname;
|
2015-10-14 16:11:22 +01:00
|
|
|
rev = "v${version}";
|
2024-08-09 01:53:21 +01:00
|
|
|
sha256 = "sha256-1fgSz4f6W+Dr3mo4vQY8buD2dNC8RBMGrwCTOIzH7rQ=";
|
2015-10-14 16:11:22 +01:00
|
|
|
};
|
|
|
|
|
2023-06-21 09:31:56 +01:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ sphinx ];
|
|
|
|
buildInputs = [ python3 ];
|
2015-10-14 16:11:22 +01:00
|
|
|
makeFlags = [ "PREFIX=$(out)" "VERSION=$(version)" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-10-14 16:11:22 +01:00
|
|
|
description = "Program to generate and execute DesktopEntry files of the Application type";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/jceb/dex";
|
2018-09-12 20:56:37 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3Plus;
|
2023-06-21 09:31:56 +01:00
|
|
|
maintainers = with maintainers; [ nickcao ];
|
2023-11-23 21:09:35 +00:00
|
|
|
mainProgram = "dex";
|
2015-10-14 16:11:22 +01:00
|
|
|
};
|
|
|
|
}
|