21 buildPythonPackage rec {
22 pname = "paperwork-shell";
23 inherit (import ./src.nix { inherit fetchFromGitLab; }) version src;
26 sourceRoot = "${src.name}/paperwork-shell";
28 # Python 2.x is not supported.
29 disabled = !isPy3k && !isPyPy;
33 patchShebangs ../tools
35 env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
37 propagatedBuildInputs = [
62 export HOME=$(mktemp -d)
63 "$out/bin/paperwork-cli" chkdeps
67 description = "CLI for Paperwork";
68 homepage = "https://openpaper.work/";
69 license = lib.licenses.gpl3Plus;
70 maintainers = with lib.maintainers; [ aszlig symphorien ];