Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

dex: grab simple upstream patch so it reports the right version

+8 -1
+8 -1
pkgs/tools/X11/dex/default.nix
··· 1 - { stdenv, fetchFromGitHub, python3 }: 1 + { stdenv, fetchFromGitHub, python3, fetchpatch }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 program = "dex"; ··· 15 15 propagatedBuildInputs = [ python3 ]; 16 16 nativeBuildInputs = [ python3.pkgs.sphinx ]; 17 17 makeFlags = [ "PREFIX=$(out)" "VERSION=$(version)" ]; 18 + 19 + patches = [ 20 + (fetchpatch { 21 + url = https://github.com/jceb/dex/commit/107358ddf5e1ca4fa56ef1a7ab161dc3b6adc45a.patch; 22 + sha256 = "06dfkfzxp8199by0jc5wim8g8qw38j09dq9p6n9w4zaasla60pjq"; 23 + }) 24 + ]; 18 25 19 26 meta = with stdenv.lib; { 20 27 description = "A program to generate and execute DesktopEntry files of the Application type";