Merge pull request #160226 from Stunkymonkey/libdbusmenu-pname-version
This commit is contained in:
commit
272a52d476
|
@ -7,14 +7,11 @@
|
|||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = let postfix = if gtkVersion == null then "glib" else "gtk${gtkVersion}";
|
||||
in "libdbusmenu-${postfix}-${version}";
|
||||
version = "${versionMajor}.${versionMinor}";
|
||||
versionMajor = "16.04";
|
||||
versionMinor = "0";
|
||||
pname = "libdbusmenu-${if gtkVersion == null then "glib" else "gtk${gtkVersion}"}";
|
||||
version = "16.04.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/${versionMajor}/${version}/+download/libdbusmenu-${version}.tar.gz";
|
||||
url = "https://launchpad.net/dbusmenu/${lib.versions.majorMinor version}/${version}/+download/libdbusmenu-${version}.tar.gz";
|
||||
sha256 = "12l7z8dhl917iy9h02sxmpclnhkdjryn08r8i4sr8l3lrlm4mk5r";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue