mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 13:33:12 +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.
57 lines
975 B
Nix
57 lines
975 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitLab
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, vala
|
|
, gtk4
|
|
, libgee
|
|
, libadwaita
|
|
, gtksourceview5
|
|
, blueprint-compiler
|
|
, wrapGAppsHook4
|
|
, desktop-file-utils
|
|
, template-glib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "elastic";
|
|
version = "0.1.5";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.gnome.org";
|
|
owner = "World";
|
|
repo = "elastic";
|
|
rev = version;
|
|
hash = "sha256-y/XBXN5RIqnFmxnmkThBGW0B5owgy/1Q/6jmkBCi+rk=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
vala
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
desktop-file-utils
|
|
blueprint-compiler
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk4
|
|
libadwaita
|
|
libgee
|
|
gtksourceview5
|
|
template-glib
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Design spring animations";
|
|
homepage = "https://gitlab.gnome.org/World/elastic/";
|
|
mainProgram = "app.drey.Elastic";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ _0xMRTT ];
|
|
};
|
|
}
|