Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 37 lines 754 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 python3, 6 sphinx, 7}: 8 9stdenv.mkDerivation rec { 10 pname = "dex"; 11 version = "0.10.1"; 12 13 src = fetchFromGitHub { 14 owner = "jceb"; 15 repo = "dex"; 16 rev = "v${version}"; 17 sha256 = "sha256-1fgSz4f6W+Dr3mo4vQY8buD2dNC8RBMGrwCTOIzH7rQ="; 18 }; 19 20 strictDeps = true; 21 22 nativeBuildInputs = [ sphinx ]; 23 buildInputs = [ python3 ]; 24 makeFlags = [ 25 "PREFIX=$(out)" 26 "VERSION=$(version)" 27 ]; 28 29 meta = with lib; { 30 description = "Program to generate and execute DesktopEntry files of the Application type"; 31 homepage = "https://github.com/jceb/dex"; 32 platforms = platforms.linux; 33 license = licenses.gpl3Plus; 34 maintainers = with maintainers; [ nickcao ]; 35 mainProgram = "dex"; 36 }; 37}