1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/tools/X11/dex/default.nix
2024-08-09 00:53:21 +00:00

34 lines
737 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, python3
, sphinx
}:
stdenv.mkDerivation rec {
pname = "dex";
version = "0.10.1";
src = fetchFromGitHub {
owner = "jceb";
repo = pname;
rev = "v${version}";
sha256 = "sha256-1fgSz4f6W+Dr3mo4vQY8buD2dNC8RBMGrwCTOIzH7rQ=";
};
strictDeps = true;
nativeBuildInputs = [ sphinx ];
buildInputs = [ python3 ];
makeFlags = [ "PREFIX=$(out)" "VERSION=$(version)" ];
meta = with lib; {
description = "Program to generate and execute DesktopEntry files of the Application type";
homepage = "https://github.com/jceb/dex";
platforms = platforms.linux;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ nickcao ];
mainProgram = "dex";
};
}