mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-21 23:40:42 +08:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
36 lines
709 B
Nix
36 lines
709 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
typing-extensions,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "stringly";
|
|
version = "1.0b3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "evalf";
|
|
repo = "stringly";
|
|
tag = "v${version}";
|
|
hash = "sha256-OAATONkok9M2pVoChtwWMPPU/bhAxGf+BFawy9g3iZI=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
dependencies = [ typing-extensions ];
|
|
|
|
pythonImportsCheck = [ "stringly" ];
|
|
|
|
doCheck = false; # no tests
|
|
|
|
meta = {
|
|
description = "Stringly: Human Readable Object Serialization";
|
|
homepage = "https://github.com/evalf/stringly";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.Scriptkiddi ];
|
|
};
|
|
}
|