nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 56 lines 1.3 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 bash, 6 gnome, 7 meson, 8 python3, 9 ninja, 10}: 11 12stdenv.mkDerivation rec { 13 pname = "mm-common"; 14 version = "1.0.7"; 15 16 src = fetchurl { 17 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 18 sha256 = "SUq/zngUGCWbHp2IiMc69N5LbzvjbMddm6qLqg8qejk="; 19 }; 20 21 strictDeps = true; 22 23 nativeBuildInputs = [ 24 meson 25 python3 26 ninja 27 ]; 28 29 # for shebangs 30 buildInputs = [ 31 python3 32 bash 33 ]; 34 35 passthru = { 36 updateScript = gnome.updateScript { 37 packageName = pname; 38 versionPolicy = "none"; 39 }; 40 }; 41 42 meta = { 43 description = "Common build files of GLib/GTK C++ bindings"; 44 longDescription = '' 45 The mm-common module provides the build infrastructure and utilities 46 shared among the GNOME C++ binding libraries. It is only a required 47 dependency for building the C++ bindings from the gnome.org version 48 control repository. An installation of mm-common is not required for 49 building tarball releases, unless configured to use maintainer-mode. 50 ''; 51 homepage = "https://www.gtkmm.org"; 52 license = lib.licenses.gpl2Plus; 53 teams = [ lib.teams.gnome ]; 54 platforms = lib.platforms.linux; 55 }; 56}