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 env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
34 propagatedBuildInputs = [
52 export HOME=$(mktemp -d)
56 description = "Backend part of Paperwork (Python API, no UI)";
57 homepage = "https://openpaper.work/";
58 license = lib.licenses.gpl3Plus;
59 maintainers = with lib.maintainers; [ aszlig symphorien ];
60 platforms = lib.platforms.linux;