Merge pull request #48088 from dtzWill/fix/dex-version
dex: grab simple upstream patch so it reports the right version
This commit is contained in:
commit
e8df98e6bc
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, python3 }:
|
{ stdenv, fetchFromGitHub, python3, fetchpatch }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
program = "dex";
|
program = "dex";
|
||||||
|
@ -16,6 +16,13 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ python3.pkgs.sphinx ];
|
nativeBuildInputs = [ python3.pkgs.sphinx ];
|
||||||
makeFlags = [ "PREFIX=$(out)" "VERSION=$(version)" ];
|
makeFlags = [ "PREFIX=$(out)" "VERSION=$(version)" ];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = https://github.com/jceb/dex/commit/107358ddf5e1ca4fa56ef1a7ab161dc3b6adc45a.patch;
|
||||||
|
sha256 = "06dfkfzxp8199by0jc5wim8g8qw38j09dq9p6n9w4zaasla60pjq";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A program to generate and execute DesktopEntry files of the Application type";
|
description = "A program to generate and execute DesktopEntry files of the Application type";
|
||||||
homepage = https://github.com/jceb/dex;
|
homepage = https://github.com/jceb/dex;
|
||||||
|
|
Loading…
Reference in New Issue