10 buildPythonPackage rec {
17 inherit pname version;
18 hash = "sha256-tCrFBjkK6obzaYkYiJ3WQ5yi3KkC86/cbXCSnRRGZu8=";
21 nativeBuildInputs = with rustPlatform; [
26 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
28 cargoDeps = rustPlatform.fetchCargoTarball {
30 name = "${pname}-${version}";
31 hash = "sha256-wHObfXWgcbSYxk5d17s44+1qIGYD/Ygefxp+el0fsEc=";
35 description = "Python bindings to the Rust regress crate, exposing ECMA regular expressions";
36 homepage = "https://github.com/Julian/regress";
37 license = licenses.mit;
38 maintainers = [ maintainers.matthiasbeyer ];