-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e040bce
commit 887e7e5
Showing
2 changed files
with
35 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
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,31 @@ | ||
{ | ||
lib, | ||
buildPythonPackage, | ||
fetchPypi, | ||
setuptools, | ||
wheel, | ||
}: | ||
buildPythonPackage rec { | ||
pname = "scanf"; | ||
version = "1.5.2"; | ||
pyproject = true; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
hash = "sha256-V2M0QKAqE4zRS2k9CScK8KA7sBfo1M/SSMeYizG4y4E="; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
setuptools | ||
wheel | ||
]; | ||
|
||
pythonImportsCheck = ["scanf"]; | ||
|
||
meta = with lib; { | ||
description = "A small scanf implementation"; | ||
homepage = "https://pypi.org/project/scanf/"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [minijackson]; | ||
}; | ||
} |