diff --git a/python3.11-s3-tar.nix b/python3.11-s3-tar.nix new file mode 100644 index 0000000..39c78f5 --- /dev/null +++ b/python3.11-s3-tar.nix @@ -0,0 +1,31 @@ +{ + fetchFromGitHub , + stdenv , +} : + +with stdenv ; + +mkDerivation { + pname = "python-s3-tar" ; + version = "2020-08-05-62f7f11" ; + + src = fetchFromGitHub { + owner = "xtream1101" ; + repo = "s3-tar" ; + rev = "62f7f1118f9e83724dbf9e8458b5505b3a0ba758" ; + hash = "" ; + } ; + + dontPatch = true ; + dontConfigure = true ; + dontBuild = true ; + + installPhase = '' + runHook preInstall + + mkdir -p $out/lib/python3.11/site-packages + cp -r $src/s3_tar $out/lib/python3.11/site-packages/ + + runHook postInstall + '' ; +}