mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 02:23:54 +00:00
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.
34 lines
937 B
Nix
34 lines
937 B
Nix
{ lib, stdenv, fetchurl, pkg-config, goocanvas2, gtkmm3, gnome }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "goocanvasmm";
|
|
version = "1.90.11";
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "0vpdfrj59nwzwj8bk4s0h05iyql62pxjzsxh72g3vry07s3i3zw0";
|
|
};
|
|
nativeBuildInputs = [ pkg-config ];
|
|
propagatedBuildInputs = [ gtkmm3 goocanvas2 ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = pname;
|
|
attrPath = "goocanvasmm2";
|
|
versionPolicy = "none"; # stable version has not been released yet, last update 2015
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "C++ bindings for GooCanvas";
|
|
homepage = "https://gitlab.gnome.org/Archive/goocanvasmm";
|
|
license = licenses.lgpl2;
|
|
maintainers = [ ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|