571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
29 lines
725 B
Nix
29 lines
725 B
Nix
{ lib, stdenv, fetchurl, pkg-config, libxml2, gtk3, gnome, intltool }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gdl";
|
|
version = "3.40.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gdl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "NkHU/WadHhgYrv88+f+3iH/Fw2eFC3jCjHdeukq2pVU=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config intltool ];
|
|
buildInputs = [ libxml2 gtk3 ];
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = "gdl";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Gnome docking library";
|
|
homepage = "https://developer.gnome.org/gdl/";
|
|
maintainers = teams.gnome.members;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|