17 buildPythonPackage rec {
18 pname = "openpaperwork-core";
19 inherit (import ./src.nix { inherit fetchFromGitLab; }) version src;
22 sourceRoot = "${src.name}/openpaperwork-core";
24 # Python 2.x is not supported.
25 disabled = !isPy3k && !isPyPy;
29 patchShebangs ../tools
32 propagatedBuildInputs = [
50 export HOME=$(mktemp -d)
54 description = "Backend part of Paperwork (Python API, no UI)";
55 homepage = "https://openpaper.work/";
56 license = lib.licenses.gpl3Plus;
57 maintainers = with lib.maintainers; [ aszlig symphorien ];
58 platforms = lib.platforms.linux;