mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
aa001cc937
Keep only the version atribute in derivations, with the full version string of the package. This will make it easier to write a script for automatic updating of the packages using the update-source-version command from common-updater-scripts.
28 lines
814 B
Nix
28 lines
814 B
Nix
{ stdenv, fetchurl, pkgconfig, intltool, mate, pythonPackages }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mozo-${version}";
|
|
version = "1.18.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
|
sha256 = "04yn9bw64q5a5kvpmkb7rb3mlp11pmnvkbphficsgb0368fj895b";
|
|
};
|
|
|
|
pythonPath = [ mate.mate-menus pythonPackages.pygobject3 ];
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool pythonPackages.wrapPython ];
|
|
|
|
buildInputs = [ pythonPackages.python ] ++ pythonPath;
|
|
|
|
preFixup = "wrapPythonPrograms";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "MATE Desktop menu editor";
|
|
homepage = https://github.com/mate-desktop/mozo;
|
|
license = with licenses; [ lgpl2Plus ];
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.romildo ];
|
|
};
|
|
}
|