python3Packages.regress: init at 0.4.5
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Co-Authored-By: Victor Engmark <victor@engmark.name>
This commit is contained in:
parent
1128c5bfed
commit
d6b063a6db
2 changed files with 34 additions and 0 deletions
32
pkgs/development/python-modules/regress/default.nix
Normal file
32
pkgs/development/python-modules/regress/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, rustPlatform
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "regress";
|
||||
version = "0.4.5";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-tCrFBjkK6obzaYkYiJ3WQ5yi3KkC86/cbXCSnRRGZu8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ];
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-wHObfXWgcbSYxk5d17s44+1qIGYD/Ygefxp+el0fsEc=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python bindings to the Rust regress crate, exposing ECMA regular expressions.";
|
||||
homepage = "https://github.com/Julian/regress";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.matthiasbeyer ];
|
||||
};
|
||||
}
|
|
@ -6691,6 +6691,8 @@ self: super: with self; {
|
|||
|
||||
rtmixer = callPackage ../development/python-modules/rtmixer { };
|
||||
|
||||
regress = callPackage ../development/python-modules/regress { };
|
||||
|
||||
mail-parser = callPackage ../development/python-modules/mail-parser { };
|
||||
|
||||
makefun = callPackage ../development/python-modules/makefun { };
|
||||
|
|
Loading…
Reference in a new issue