forked from linien-org/linien
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add nix files & relax rpyc dep versions
- Loading branch information
1 parent
0fedc23
commit 5816b3f
Showing
13 changed files
with
806 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
use flake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,3 +43,5 @@ share/python-wheels/ | |
.installed.cfg | ||
*.egg | ||
MANIFEST | ||
# Nix build symlinks | ||
result* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ lib | ||
, src | ||
, version | ||
, buildPythonPackage | ||
, anyio | ||
, aiofile | ||
}: | ||
|
||
buildPythonPackage { | ||
pname = "aiopath"; | ||
inherit version; | ||
|
||
inherit src; | ||
|
||
propagatedBuildInputs = [ | ||
anyio | ||
aiofile | ||
]; | ||
# Tests require a module that is deprecated, and is not packaged in Nixpkgs, | ||
# named: asynctempfile. URL: https://github.com/alemigo/asynctempfile . | ||
# Ideally upstream would adopt less obscure dependencies. | ||
doCheck = false; | ||
|
||
pythonImportsCheck = [ | ||
"aiopath" | ||
]; | ||
|
||
meta = with lib; { | ||
description = "A complete implementation of Python's pathlib that's compatible with asyncio, trio, and the async/await syntax"; | ||
homepage = "https://github.com/alexdelorenzo/aiopath"; | ||
license = licenses.lgpl3Plus; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ lib | ||
, src | ||
, version | ||
, buildPythonPackage | ||
, setuptools | ||
, unpackable | ||
, asyncstdlib | ||
, appdirs | ||
, aiopath | ||
, strenum | ||
}: | ||
|
||
buildPythonPackage { | ||
pname = "app-paths"; | ||
inherit version; | ||
|
||
inherit src; | ||
|
||
pythonImportsCheck = [ | ||
"app_paths" | ||
]; | ||
|
||
#nativeBuildInputs = [ | ||
# setuptools | ||
#]; | ||
propagatedBuildInputs = [ | ||
unpackable | ||
asyncstdlib | ||
appdirs | ||
aiopath | ||
strenum | ||
]; | ||
|
||
meta = with lib; { | ||
description = "Like appdirs, but with pathlib, path creation and async support"; | ||
homepage = "https://github.com/alexdelorenzo/app_paths"; | ||
license = licenses.lgpl3Plus; | ||
}; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.