mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +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.
41 lines
1017 B
Nix
41 lines
1017 B
Nix
{ fetchurl, lib, stdenv, pkg-config, intltool, gobject-introspection, glib, gdk-pixbuf
|
|
, libxml2, cairo, pango, gnome }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "lasem";
|
|
version = "0.4.4";
|
|
|
|
outputs = [ "bin" "out" "dev" "man" "doc" "devdoc" ];
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "0fds3fsx84ylsfvf55zp65y8xqjj5n8gbhcsk02vqglivk7izw4v";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config intltool gobject-introspection ];
|
|
|
|
propagatedBuildInputs = [
|
|
glib gdk-pixbuf libxml2 cairo pango
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
doCheck = true;
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = pname;
|
|
versionPolicy = "odd-unstable";
|
|
};
|
|
};
|
|
|
|
meta = {
|
|
description = "SVG and MathML rendering library";
|
|
mainProgram = "lasem-render-0.4";
|
|
|
|
homepage = "https://github.com/LasemProject/lasem";
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|