Add s3-tar Python package
This commit is contained in:
parent
0ead7ba9b0
commit
6961f58c96
1 changed files with 31 additions and 0 deletions
31
python3.11-s3-tar.nix
Normal file
31
python3.11-s3-tar.nix
Normal 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
|
||||||
|
'' ;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue