nix-packages/python3.11-s3-tar.nix

32 lines
559 B
Nix
Raw Normal View History

2025-03-02 23:50:07 +01:00
{
fetchFromGitHub ,
stdenv ,
} :
with stdenv ;
mkDerivation {
pname = "python-s3-tar" ;
version = "2020-08-05-62f7f11" ;
src = fetchFromGitHub {
owner = "xtream1101" ;
repo = "s3-tar" ;
rev = "62f7f1118f9e83724dbf9e8458b5505b3a0ba758" ;
2025-03-02 23:54:20 +01:00
hash = "sha256-s2ei0joUNDZ2e18YbjMMlGOJpuMTFUwEjgRiUGb4EqI=" ;
2025-03-02 23:50:07 +01:00
} ;
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
'' ;
}