I've currently got this Nix flake, which works for running it:
{
description = "ELAN, for linguistic annotation of audio data";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShell = pkgs.mkShell {
buildInputs = [
pkgs.maven
pkgs.jdk11
];
};
}
);
}
As far as I can tell, packaging it requires telling Nix about the dependencies somehow (it's a Maven project), and I'm not entirely sure how to do that. I've consulted the Nixpkgs manual page here but it notes that mvn2nix is unmaintained, so I'm not sure that that's the best way to go about it. Any help is appreciated!
They also provide a precompiled Debian package here, but would be nice to have Nix build it from source.
Project description
ELAN is an application for annotating recordings of human speech with linguistic information, such as phonetic transcriptions.
Metadata
I've currently got this Nix flake, which works for running it:
As far as I can tell, packaging it requires telling Nix about the dependencies somehow (it's a Maven project), and I'm not entirely sure how to do that. I've consulted the Nixpkgs manual page here but it notes that
mvn2nix
is unmaintained, so I'm not sure that that's the best way to go about it. Any help is appreciated!They also provide a precompiled Debian package here, but would be nice to have Nix build it from source.