X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/8d583d5bdb7c8c2c6f7dfc3336c48a9ac04393ca..81557fabadd506e31a6a9a787bcebe92b0883ad2:/default.nix?ds=inline 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 =