X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/8d583d5bdb7c8c2c6f7dfc3336c48a9ac04393ca..69169c2c71234aa0bc60e15b331369263db0e4b8:/default.nix?ds=sidebyside diff --git a/default.nix b/default.nix index c27c9e6..bb2d87e 100644 --- a/default.nix +++ b/default.nix @@ -5,7 +5,8 @@ pkgs.python3Packages.callPackage ({ lib, buildPythonPackage, makeWrapper , pandoc-cli }: buildPythonPackage rec { pname = "paperdoorknob"; - version = "0.0.1"; + version = lib.removeSuffix "'" (lib.removePrefix "paperdoorknob_version = '" + (lib.fileContents ./version.py)); src = lib.cleanSource ./.; nativeBuildInputs = [ makeWrapper ]; propagatedBuildInputs =