2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
|
|
|
, sphinx
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "dex";
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "0.9.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jceb";
|
2021-12-06 16:07:01 +00:00
|
|
|
repo = pname;
|
2020-04-24 23:36:52 +00:00
|
|
|
rev = "v${version}";
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "03aapcywnz4kl548cygpi25m8adwbmqlmwgxa66v4156ax9dqs86";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ sphinx ];
|
|
|
|
buildInputs = [ python3 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" "VERSION=$(version)" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
2023-07-15 17:15:38 +00:00
|
|
|
maintainers = with maintainers; [ nickcao ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "dex";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|