34 lines
737 B
Nix
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";
|
|
};
|
|
}
|