nixpkgs/pkgs/by-name/de/dex/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
754 B
Nix
Raw Normal View History

{
lib,
stdenv,
fetchFromGitHub,
python3,
sphinx,
}:
2015-10-14 15:11:22 +00:00
stdenv.mkDerivation rec {
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";
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
};
strictDeps = true;
nativeBuildInputs = [ sphinx ];
buildInputs = [ python3 ];
2015-10-14 15:11:22 +00:00
makeFlags = [
"PREFIX=$(out)"
"VERSION=$(version)"
];
meta = with lib; {
2015-10-14 15:11:22 +00:00
description = "Program to generate and execute DesktopEntry files of the Application type";
homepage = "https://github.com/jceb/dex";
2018-09-12 19:56:37 +00:00
platforms = platforms.linux;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ nickcao ];
2023-11-23 21:09:35 +00:00
mainProgram = "dex";
2015-10-14 15:11:22 +00:00
};
}