Add s3-tar Python package

This commit is contained in:
Reinout Meliesie 2025-03-02 23:50:07 +01:00
parent 0ead7ba9b0
commit 6961f58c96
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

31
python3.11-s3-tar.nix Normal file
View file

@ -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
'' ;
}