1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
nixpkgs/pkgs/tools/X11/dex/default.nix

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

34 lines
737 B
Nix
Raw Normal View History

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