mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 14:33:22 +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.
39 lines
1.1 KiB
Nix
39 lines
1.1 KiB
Nix
{ lib, stdenv, fetchurl, gettext, pkg-config, glib, libnotify, gtk3, libgee
|
|
, keybinder3, json-glib, zeitgeist, vala, gobject-introspection
|
|
}:
|
|
|
|
let
|
|
version = "0.2.99.4";
|
|
in stdenv.mkDerivation rec {
|
|
pname = "synapse";
|
|
inherit version;
|
|
|
|
src = fetchurl {
|
|
url = "https://launchpad.net/synapse-project/0.3/${version}/+download/${pname}-${version}.tar.xz";
|
|
sha256 = "1g6x9knb4jy1d8zgssjhzkgac583137pibisy9whjs8mckaj4k1j";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config gettext vala
|
|
# For setup hook
|
|
gobject-introspection
|
|
];
|
|
buildInputs = [
|
|
glib libnotify gtk3 libgee keybinder3 json-glib zeitgeist
|
|
];
|
|
|
|
meta = with lib; {
|
|
longDescription = ''
|
|
Semantic launcher written in Vala that you can use to start applications
|
|
as well as find and access relevant documents and files by making use of
|
|
the Zeitgeist engine
|
|
'';
|
|
description = "Semantic launcher to start applications and find relevant files";
|
|
homepage = "https://launchpad.net/synapse-project";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ mahe ];
|
|
platforms = with platforms; all;
|
|
mainProgram = "synapse";
|
|
};
|
|
}
|